mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi: address comment
This commit is contained in:
parent
65734c6337
commit
74b5137afa
1 changed files with 1 additions and 4 deletions
|
|
@ -121,14 +121,11 @@ func unpack(t *Type, dst interface{}, src interface{}) error {
|
|||
)
|
||||
tuple, typ := false, t
|
||||
for {
|
||||
if typ.T == TupleTy {
|
||||
tuple = true
|
||||
break
|
||||
}
|
||||
if typ.T == SliceTy || typ.T == ArrayTy {
|
||||
typ = typ.Elem
|
||||
continue
|
||||
}
|
||||
tuple = typ.T == TupleTy
|
||||
break
|
||||
}
|
||||
if !tuple {
|
||||
|
|
|
|||
Loading…
Reference in a new issue