Make keys unique

bug/invalid-loop-pruning
Eric Ngo 5 years ago
parent e1bd418aa4
commit e9dfa8fca3
  1. 2
      mythril/laser/ethereum/strategy/extensions/bounded_loops.py

@ -70,7 +70,7 @@ class BoundedLoopsStrategy(BasicSearchStrategy):
return state
# create unique instruction identifier
key = "{}{}{}".format(
key = "{};{};{}".format(
cur_instr["opcode"], cur_instr["address"], state.mstate.prev_pc
)

Loading…
Cancel
Save