Skip to content

Commit

Permalink
Merge pull request cleanunicorn#7 from cleanunicorn/exploit-description
Browse files Browse the repository at this point in the history
Load tx function name when loading files.
  • Loading branch information
cleanunicorn authored Jul 24, 2019
2 parents 0ec0f73 + 0d1943f commit 57dec35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theo/file/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def exploits_from_file(
for exploit in exploit_list:
txs = []
for tx in exploit:
txs.append(Tx(data=tx.get("data", "0x"), value=tx.get("value", 0)))
txs.append(Tx(data=tx.get("data", "0x"), value=tx.get("value", 0), name=tx.get("name", "")))

exploits.append(
Exploit(
Expand Down

0 comments on commit 57dec35

Please sign in to comment.