mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
accounts: fix docstrings (#27703)
fix function name in comment Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
f365434a0c
commit
80967d52f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue