Review comments: @melekes suggestions

require instead of assert

Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
Anton Kaliaev 2018-12-01 11:57:39 +01:00 committed by GitHub
parent 78b7a41319
commit d79d2093ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ func TestReactorWithEvidence(t *testing.T) {
// everyone includes evidence of another double signing
vIdx := (i + 1) % nValidators
addr, err := privVals[vIdx].GetAddress()
assert.NoError(t, err)
require.NoError(t, err)
evpool := newMockEvidencePool(addr)
// Make ConsensusState