blockchain v0: test updates

This commit is contained in:
Aleksandr Bezobchuk
2021-01-13 12:22:21 -05:00
parent dd15fbd502
commit 630307096b

View File

@@ -367,7 +367,7 @@ func TestReactor_BadBlockStopsPeer(t *testing.T) {
testSuites[3].reactor.store = otherSuite.reactor.store
// add a fake peer just so we do not wait for the consensus ticker to timeout
otherSuite.reactor.pool.SetPeerRange("00ff", maxBlockHeight, maxBlockHeight)
otherSuite.reactor.pool.SetPeerRange("00ff", 10, 10)
// start the new peer's faux router
newSuite := testSuites[len(testSuites)-1]