diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-04-01 05:54:47 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-04-05 02:30:59 +0800 |
commit | a306e17a26e96e383afe86a2f1cdfa2320ec0f2f (patch) | |
tree | e594fab043b0936864b6578f2d1db2239a75ace3 /accounts/abi/abi.go | |
parent | 968d8ffe942f6ef3776b43a73fb0fe85eb955a68 (diff) | |
download | dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar.gz dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar.bz2 dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar.lz dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar.xz dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.tar.zst dexon-a306e17a26e96e383afe86a2f1cdfa2320ec0f2f.zip |
abi: removed implicit type casting & refactored type parsing
Diffstat (limited to 'accounts/abi/abi.go')
-rw-r--r-- | accounts/abi/abi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index b0765e7db..9ef7c0f0d 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -186,7 +186,7 @@ func toGoSlice(i int, t Argument, output []byte) (interface{}, error) { // argument in T. func toGoType(i int, t Argument, output []byte) (interface{}, error) { // we need to treat slices differently - if t.Type.Kind == reflect.Slice { + if t.Type.IsSlice { return toGoSlice(i, t, output) } |