Skip to content

Commit

Permalink
removed error message assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Feb 13, 2023
1 parent a838233 commit 1d8d36a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/grandpa/vote_message_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,6 @@ func TestValidateMessage_Equivocation(t *testing.T) {

_, err = gs.validateVoteMessage("", msg)
require.ErrorIs(t, err, ErrEquivocation)
require.EqualError(t, err, "checking for equivocation: vote is equivocatory: "+
"voter 0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee has "+
"existing vote 0xfa6648885514eb4e8e5cbcbd18bdcf18a903f71b44769131604304099384e930 "+
"and new vote 0x3d5687d4ca7f086a0e18c4730cac0e1bcfa0e1ae592b5966dcc1a5330a58d10b")
}

func TestValidateMessage_BlockDoesNotExist(t *testing.T) {
Expand Down

0 comments on commit 1d8d36a

Please sign in to comment.