Refactoring

pull/22/head
Bernhard Mueller 7 years ago
parent db929fe4ab
commit 12e1e4c1f2
  1. 4
      mythril/ether/evm.py

@ -56,7 +56,7 @@ def trace(code, calldata = ""):
if (len(stackitems)): if (len(stackitems)):
for i in range(0, len(stackitems) - 1): for i in range(0, len(stackitems) - 1):
stack += hex(int(stackitems[i])) + ", " stack += hex(int(stackitems[i])) + ", "
stack += hex(int(stackitems[-1])) stack += hex(int(stackitems[-1]))
@ -73,5 +73,3 @@ def trace(code, calldata = ""):
trace.append({'pc': pc, 'op': op, 'stack': stack}) trace.append({'pc': pc, 'op': op, 'stack': stack})
return trace return trace

Loading…
Cancel
Save