Skip to content

Commit

Permalink
Include invalid transaction type in exception message (#1632)
Browse files Browse the repository at this point in the history
* Update evm.py

* Update evm.py
  • Loading branch information
smoelius authored and Brad Larsen committed Mar 16, 2020
1 parent 7577b74 commit 0d564ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manticore/platforms/evm.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def sort(self):
@sort.setter
def sort(self, sort):
if sort not in {"CREATE", "CALL", "DELEGATECALL"}:
raise EVMException("Invalid transaction type")
raise EVMException(f"Invalid transaction type: {sort}")
self._sort = sort

@property
Expand Down

0 comments on commit 0d564ee

Please sign in to comment.