aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/abi/unpack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/unpack.go b/accounts/abi/unpack.go
index ffa14ccd3..57732797b 100644
--- a/accounts/abi/unpack.go
+++ b/accounts/abi/unpack.go
@@ -38,7 +38,7 @@ type unpacker interface {
func readInteger(kind reflect.Kind, b []byte) interface{} {
switch kind {
case reflect.Uint8:
- return uint8(b[len(b)-1])
+ return b[len(b)-1]
case reflect.Uint16:
return binary.BigEndian.Uint16(b[len(b)-2:])
case reflect.Uint32: