From b6753a34ae4e6c43f6c5a51b573fa8e791ab4fd5 Mon Sep 17 00:00:00 2001 From: ggrieco-tob <31542053+ggrieco-tob@users.noreply.github.com> Date: Fri, 29 Dec 2017 12:48:07 -0300 Subject: [PATCH] Adds support for unmarshaling uint8 type (#681) --- manticore/ethereum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manticore/ethereum.py b/manticore/ethereum.py index c156b66..1fbda77 100644 --- a/manticore/ethereum.py +++ b/manticore/ethereum.py @@ -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