mirror of
https://github.com/trailofbits/manticore.git
synced 2026-10-12 02:23:44 +00:00
Update manticore/ethereum/manticore.py
Co-Authored-By: feliam <[email protected]>
This commit is contained in:
co-authored by
feliam
parent
5a0b54dde6
commit
9a93cc527f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user