mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
accounts/abi: fix redundant statement
Signed-off-by: VoR0220 <rj@erisindustries.com>
This commit is contained in:
parent
1ec212eeba
commit
2b152e7669
1 changed files with 1 additions and 5 deletions
|
|
@ -136,10 +136,6 @@ func toGoSlice(i int, t Argument, output []byte) (interface{}, error) {
|
|||
}
|
||||
//slice is there for a fixed amount of times
|
||||
slice = output[index : index+size*32]
|
||||
|
||||
if size*32 > len(slice) {
|
||||
return nil, fmt.Errorf("abi: cannot marshal in to go slice: insufficient size output %d require %d", len(output), offset+32+size*32)
|
||||
}
|
||||
}
|
||||
|
||||
for i := 0; i < size; i++ {
|
||||
|
|
|
|||
Loading…
Reference in a new issue