aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/numbers.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-03-30 22:22:02 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-04-05 02:30:58 +0800
commit022cbd680052eb87b32d5f59587957779d382c0c (patch)
treef4894fc2eeea920233fcdd108e0977cc3b19fb6f /accounts/abi/numbers.go
parent96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51 (diff)
downloadgo-tangerine-022cbd680052eb87b32d5f59587957779d382c0c.tar.gz
go-tangerine-022cbd680052eb87b32d5f59587957779d382c0c.tar.zst
go-tangerine-022cbd680052eb87b32d5f59587957779d382c0c.zip
abi: accept input slices of all supported types
Diffstat (limited to 'accounts/abi/numbers.go')
-rw-r--r--accounts/abi/numbers.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go
index 02609d567..084701de5 100644
--- a/accounts/abi/numbers.go
+++ b/accounts/abi/numbers.go
@@ -117,8 +117,6 @@ func packNum(value reflect.Value, to byte) []byte {
// checks whether the given reflect value is signed. This also works for slices with a number type
func isSigned(v reflect.Value) bool {
switch v.Type() {
- case ubig_ts, big_ts, big_t, ubig_t:
- return true
case int_ts, int8_ts, int16_ts, int32_ts, int64_ts, int_t, int8_t, int16_t, int32_t, int64_t:
return true
}