Skip to content

Commit 9a3bd11

Browse files
authored
accounts/abi: fix typo in error message (#25742)
1 parent 3a4cef5 commit 9a3bd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accounts/abi/unpack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func forEachUnpack(t Type, output []byte, start, size int) (interface{}, error)
123123
return nil, fmt.Errorf("cannot marshal input to array, size is negative (%d)", size)
124124
}
125125
if start+32*size > len(output) {
126-
return nil, fmt.Errorf("abi: cannot marshal in to go array: offset %d would go over slice boundary (len=%d)", len(output), start+32*size)
126+
return nil, fmt.Errorf("abi: cannot marshal into go array: offset %d would go over slice boundary (len=%d)", len(output), start+32*size)
127127
}
128128

129129
// this value will become our slice or our array, depending on the type

0 commit comments

Comments
 (0)