mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
update comment
This commit is contained in:
parent
d10ea56443
commit
76b5373422
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ func (t Type) requiresLengthPrefix() bool {
|
||||||
return t.T == StringTy || t.T == BytesTy || t.T == SliceTy
|
return t.T == StringTy || t.T == BytesTy || t.T == SliceTy
|
||||||
}
|
}
|
||||||
|
|
||||||
// getOffset returns the offset to be added
|
// getOffset returns the offset to be added for t
|
||||||
func getOffset(t Type) int {
|
func getOffset(t Type) int {
|
||||||
if t.T == ArrayTy {
|
if t.T == ArrayTy {
|
||||||
return 32 * t.Size
|
return 32 * t.Size
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue