diff --git a/mythril/ether/ethcontract.py b/mythril/ether/ethcontract.py index 0c3214a3..e59f7105 100644 --- a/mythril/ether/ethcontract.py +++ b/mythril/ether/ethcontract.py @@ -38,8 +38,6 @@ class ETHContract(persistent.Persistent): str_eval = '' easm_code = None - # tokens = filter(None, re.split("( and | or | not )", expression.replace(" ", ""), re.IGNORECASE)) - tokens = re.split("\s+(and|or|not)\s+", expression, re.IGNORECASE) print(tokens) @@ -70,6 +68,4 @@ class ETHContract(persistent.Persistent): continue - print(str_eval) - return eval(str_eval.strip())