diff --git a/accounts/abi/type.go b/accounts/abi/type.go index d50903e4c1..2dbd24c85a 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -347,7 +347,7 @@ func (t Type) pack(v reflect.Value) ([]byte, error) { } } -// requireLengthPrefix returns whether the type requires any sort of length +// requiresLengthPrefix returns whether the type requires any sort of length // prefixing. func (t Type) requiresLengthPrefix() bool { return t.T == StringTy || t.T == BytesTy || t.T == SliceTy