Truffle: Ignore Migrations contract

pull/53/head
Bernhard Mueller 7 years ago
parent 25d81d9477
commit a4810bccf7
  1. 2
      mythril/support/truffle.py

@ -19,7 +19,7 @@ def analyze_truffle_project():
for filename in files:
if re.match(r'.*\.json$', filename):
if re.match(r'.*\.json$', filename) and filename != "Migrations.json":
with open(os.path.join(build_dir, filename)) as cf:
contractdata = json.load(cf)

Loading…
Cancel
Save