mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 12:11:44 +00:00
Review comments: @melekes suggestions
require instead of assert Co-Authored-By: Liamsi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@ -90,7 +90,7 @@ func TestStateProposerSelection0(t *testing.T) {
|
||||
|
||||
prop = cs1.GetRoundState().Validators.GetProposer()
|
||||
addr, err := vss[1].GetAddress()
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
if !bytes.Equal(prop.Address, addr) {
|
||||
panic(fmt.Sprintf("expected proposer to be validator %d. Got %X", 1, prop.Address))
|
||||
}
|
||||
|
Reference in New Issue
Block a user