aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/abi.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-04-01 05:54:47 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-04-05 02:30:59 +0800
commita306e17a26e96e383afe86a2f1cdfa2320ec0f2f (patch)
treee594fab043b0936864b6578f2d1db2239a75ace3 /accounts/abi/abi.go
parent968d8ffe942f6ef3776b43a73fb0fe85eb955a68 (diff)
downloaddexon-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.go2
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)
}