mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
Review comments: @melekes suggestions
require instead of assert Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@ -271,7 +271,7 @@ func TestReactorVotingPowerChange(t *testing.T) {
|
|||||||
activeVals := make(map[string]struct{})
|
activeVals := make(map[string]struct{})
|
||||||
for i := 0; i < nVals; i++ {
|
for i := 0; i < nVals; i++ {
|
||||||
addr, err := css[i].privValidator.GetAddress()
|
addr, err := css[i].privValidator.GetAddress()
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
activeVals[string(addr)] = struct{}{}
|
activeVals[string(addr)] = struct{}{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user