Skip to content

Commit ce62c91

Browse files
committed
fix test
1 parent b681a99 commit ce62c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/src/test/java/tech/pegasys/teku/storage/protoarray/ProtoArrayTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,10 @@ void reorgWhileSyncing_shouldReorgIfWeightsAreCompatibleWithSyncingModeWhenNotIn
568568
assertHead(block4a);
569569

570570
// setting chain a as the canonical chain via non-tip block
571-
protoArray.reorgWhileSyncing(block2b, block2a, block1);
571+
protoArray.reorgWhileSyncing(block4a, block2b, block1);
572572

573573
// block2a is now the head due to weight
574-
assertHead(block2a);
574+
assertHead(block2b);
575575
}
576576

577577
@Test

0 commit comments

Comments
 (0)