Skip to content

Commit

Permalink
Merge branch 'master' into merge-v1.13.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli authored Apr 24, 2024
2 parents 018bd54 + 56f17c8 commit 9317fb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,8 +1087,7 @@ func TestABI_ErrorByID(t *testing.T) {
}
for name, m := range abi.Errors {
a := fmt.Sprintf("%v", &m)
var id [4]byte
copy(id[:], m.ID[:4])
id := [4]byte(m.ID.Bytes())
m2, err := abi.ErrorByID(id)
if err != nil {
t.Fatalf("Failed to look up ABI error: %v", err)
Expand Down

0 comments on commit 9317fb4

Please sign in to comment.