From dd15fbd502d92fd12e34b9659d12f42bd2e26b25 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 13 Jan 2021 12:21:34 -0500 Subject: [PATCH] blockchain v0: test updates --- blockchain/v0/reactor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain/v0/reactor_test.go b/blockchain/v0/reactor_test.go index 720458cd1..cb43196e3 100644 --- a/blockchain/v0/reactor_test.go +++ b/blockchain/v0/reactor_test.go @@ -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", 10, 10) + otherSuite.reactor.pool.SetPeerRange("00ff", maxBlockHeight, maxBlockHeight) // start the new peer's faux router newSuite := testSuites[len(testSuites)-1]