use shallow copy versus deepcopy

pull/962/head
Joran Honig 6 years ago
parent dfea10193f
commit 074557b624
  1. 2
      mythril/analysis/symbolic.py

@ -193,7 +193,7 @@ class SymExecWrapper:
)
elif op == "SSTORE":
stack = copy.deepcopy(state.mstate.stack)
stack = copy.copy(state.mstate.stack)
address = state.environment.active_account.address
index, value = stack.pop(), stack.pop()

Loading…
Cancel
Save