Adds support for unmarshaling uint8 type (#681)
This commit is contained in:
@@ -361,7 +361,7 @@ class ABI(object):
|
||||
return simplify(value)
|
||||
if ty == u'uint256':
|
||||
return get_uint(256, offset), offset+32
|
||||
if ty == u'bool':
|
||||
elif ty in (u'bool', u'uint8'):
|
||||
return get_uint(8, offset), offset+32
|
||||
elif ty == u'address':
|
||||
return get_uint(160, offset), offset+32
|
||||
|
||||
Reference in New Issue
Block a user