Adds support for unmarshaling uint8 type (#681)

This commit is contained in:
ggrieco-tob
2017-12-29 12:48:07 -03:00
committed by GitHub
parent 4c0f4bc6cf
commit b6753a34ae
+1 -1
View File
@@ -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