add logging

This commit is contained in:
William Banfield
2022-01-21 09:30:49 -05:00
parent 5d0671e95f
commit 32cd294d92

View File

@@ -729,6 +729,7 @@ func TestReactorValidatorSetChanges(t *testing.T) {
rts := setup(ctx, t, nPeers, states, 100) // buffer must be large enough to not deadlock
for _, reactor := range rts.reactors {
reactor.state.logger = log.NewTestingLogger(t)
state := reactor.state.GetState()
reactor.SwitchToConsensus(ctx, state, false)
}