cleanup unused functions

pull/428/head
Nikhil Parasaram 6 years ago committed by GitHub
parent b062438157
commit 2c405144cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      mythril/support/truffle.py

@ -110,13 +110,3 @@ def analyze_truffle_project(sigs, args):
print("# Analysis result for " + name + ":\n\n" + report.as_text())
elif args.outform == 'markdown':
print(report.as_markdown())
def parse_abi_for_functions(abi):
funcs = []
for data in abi:
if data['type'] != 'function':
continue
args = '('+','.join([input['type'] for input in data['inputs']])+')'
funcs.append(data['name']+args)
return funcs

Loading…
Cancel
Save