Fix TestProcessBlock_PassesProcessingConditions by updating the proposer index in test

This commit is contained in:
terence tsao
2020-05-29 16:38:11 -07:00
parent 6a13008b53
commit 43676894ab

View File

@@ -550,7 +550,7 @@ func TestProcessBlock_PassesProcessingConditions(t *testing.T) {
Block: &ethpb.BeaconBlock{
ParentRoot: parentRoot[:],
Slot: beaconState.Slot() + 1,
ProposerIndex: 13,
ProposerIndex: 2,
Body: &ethpb.BeaconBlockBody{
RandaoReveal: randaoReveal,
ProposerSlashings: proposerSlashings,