mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-03 22:51:37 +00:00
Review comments: @melekes suggestions
require instead of assert Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@ -605,7 +605,7 @@ func TestStateLockPOLUnlock(t *testing.T) {
|
|||||||
newRoundCh := subscribe(cs1.eventBus, types.EventQueryNewRound)
|
newRoundCh := subscribe(cs1.eventBus, types.EventQueryNewRound)
|
||||||
unlockCh := subscribe(cs1.eventBus, types.EventQueryUnlock)
|
unlockCh := subscribe(cs1.eventBus, types.EventQueryUnlock)
|
||||||
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)
|
||||||
|
|
||||||
// everything done from perspective of cs1
|
// everything done from perspective of cs1
|
||||||
|
Reference in New Issue
Block a user