accounts/abi: fix redundant statement

Signed-off-by: VoR0220 <rj@erisindustries.com>
This commit is contained in:
VoR0220 2016-11-01 13:15:03 -05:00
parent 1ec212eeba
commit 2b152e7669
No known key found for this signature in database
GPG key ID: D4AB109D9B5D6386

View file

@ -136,12 +136,8 @@ func toGoSlice(i int, t Argument, output []byte) (interface{}, error) {
} }
//slice is there for a fixed amount of times //slice is there for a fixed amount of times
slice = output[index : index+size*32] 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++ { for i := 0; i < size; i++ {
var ( var (
inter interface{} // interface type inter interface{} // interface type