diff --git a/consensus/state_test.go b/consensus/state_test.go index 7c6e93284..3e91db136 100644 --- a/consensus/state_test.go +++ b/consensus/state_test.go @@ -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)