mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 19:21:44 +00:00
Review comments: @melekes suggestions
use require instead of assert Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@ -700,7 +700,7 @@ func TestStateLockPOLSafety1(t *testing.T) {
|
|||||||
timeoutWaitCh := subscribe(cs1.eventBus, types.EventQueryTimeoutWait)
|
timeoutWaitCh := subscribe(cs1.eventBus, types.EventQueryTimeoutWait)
|
||||||
newRoundCh := subscribe(cs1.eventBus, types.EventQueryNewRound)
|
newRoundCh := subscribe(cs1.eventBus, types.EventQueryNewRound)
|
||||||
addr, err := cs1.privValidator.GetAddress()
|
addr, err := cs1.privValidator.GetAddress()
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
voteCh := subscribeToVoter(cs1, addr)
|
voteCh := subscribeToVoter(cs1, addr)
|
||||||
|
|
||||||
// start round and wait for propose and prevote
|
// start round and wait for propose and prevote
|
||||||
|
Reference in New Issue
Block a user