accounts: fix docstrings (#27703)

fix function name in comment

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
Daniel Liu 2025-01-14 10:56:15 +08:00
parent f365434a0c
commit 80967d52f6

View file

@ -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