dont catchupReplay on wal if we fast synced

This commit is contained in:
Ethan Buchman
2017-10-26 18:29:23 -04:00
parent bb6c15b00a
commit 591dd9e662
6 changed files with 58 additions and 29 deletions

View File

@@ -54,7 +54,7 @@ func startConsensusNet(t *testing.T, css []*ConsensusState, N int, subscribeEven
// we'd block when the cs fires NewBlockEvent and the peers are trying to start their reactors
for i := 0; i < N; i++ {
s := reactors[i].conS.GetState()
reactors[i].SwitchToConsensus(s)
reactors[i].SwitchToConsensus(s, 0)
}
return reactors, eventChans
}