Skip to content

Commit

Permalink
Update test with error checking
Browse files Browse the repository at this point in the history
Co-authored-by: baptiste-b-pegasys <[email protected]>
  • Loading branch information
vdamle and baptiste-b-pegasys authored Sep 30, 2021
1 parent 176fa88 commit eb9bd0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion consensus/istanbul/ibft/core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ func TestNilCommittedSealWithEmptyProposal(t *testing.T) {
View: c.currentView(),
Digest: common.StringToHash("1234567890"),
}
subjectPayload, _ := ibfttypes.Encode(subject)
subjectPayload, err := ibfttypes.Encode(subject)
if err != nil {
t.Errorf("problem with encoding: %v", err)
}
msg := &ibfttypes.Message{
Code: ibfttypes.MsgCommit,
Msg: subjectPayload,
Expand Down

0 comments on commit eb9bd0c

Please sign in to comment.