mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-31 11:26:20 +00:00
Review comments: @melekes suggestions
require instead of assert Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@@ -512,7 +512,7 @@ func TestStateLockPOLRelock(t *testing.T) {
|
||||
timeoutWaitCh := subscribe(cs1.eventBus, types.EventQueryTimeoutWait)
|
||||
proposalCh := subscribe(cs1.eventBus, types.EventQueryCompleteProposal)
|
||||
addr, err := cs1.privValidator.GetAddress()
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
voteCh := subscribeToVoter(cs1, addr)
|
||||
newRoundCh := subscribe(cs1.eventBus, types.EventQueryNewRound)
|
||||
newBlockCh := subscribe(cs1.eventBus, types.EventQueryNewBlockHeader)
|
||||
|
||||
Reference in New Issue
Block a user