Update manticore/ethereum/manticore.py

Co-Authored-By: feliam <[email protected]>
This commit is contained in:
Eric Hennenfent
2019-03-07 16:55:46 -03:00
committed by GitHub
co-authored by feliam
parent 5a0b54dde6
commit 9a93cc527f
+1 -1
View File
@@ -605,7 +605,7 @@ class ManticoreEVM(ManticoreBase):
hashes = {}
for item in truffle['abi']:
type = item['type']
if type in ('function'):
if item_type in ('function'):
signature = SolidityMetadata.function_signature_for_name_and_inputs(item['name'], item['inputs'])
hashes[signature] = sha3.keccak_256(signature.encode()).hexdigest()[:8]
if 'signature' in item: