ethcontract: replace placeholder for library in creation_code

pull/561/head
p0n1 6 years ago
parent 4e403b018a
commit b7d9c22767
  1. 3
      mythril/ether/ethcontract.py

@ -7,7 +7,8 @@ import re
class ETHContract(persistent.Persistent):
def __init__(self, code, creation_code="", name="Unknown", enable_online_lookup=True):
creation_code = re.sub(r'(_+.*_+)', 'aa' * 20, creation_code)
self.creation_code = creation_code
self.name = name

Loading…
Cancel
Save