Skip to content

Commit eb4248c

Browse files
authored
accept greater or equal block height (#9762)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
1 parent fae24bc commit eb4248c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/FastSyncChainDownloaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public void recoversFromSyncTargetDisconnect(final DataStorageFormat storageForm
343343
LockSupport.parkNanos(200);
344344
}
345345

346-
assertThat(localBlockchain.getChainHeadBlockNumber()).isEqualTo(15);
346+
assertThat(localBlockchain.getChainHeadBlockNumber()).isGreaterThanOrEqualTo(15);
347347
assertThat(result).isNotCompleted();
348348

349349
ethProtocolManager.handleDisconnect(bestPeer.getPeerConnection(), TOO_MANY_PEERS, true);

0 commit comments

Comments
 (0)