model_completion=True fix

pull/655/head
Nathan 6 years ago
parent f126608a3b
commit 9b057b0dc3
  1. 4
      mythril/analysis/solver.py

@ -94,10 +94,10 @@ def get_transaction_sequence(global_state, constraints):
) )
concrete_transactions[tx_id]["call_value"] = ( concrete_transactions[tx_id]["call_value"] = (
"0x%x" % model.eval(transaction.call_value).as_long() "0x%x" % model.eval(transaction.call_value, model_completion=True).as_long()
) )
concrete_transactions[tx_id]["caller"] = "0x" + ( concrete_transactions[tx_id]["caller"] = "0x" + (
"%x" % model.eval(transaction.caller).as_long() "%x" % model.eval(transaction.caller, model_completion=True).as_long()
).zfill(40) ).zfill(40)
return concrete_transactions return concrete_transactions

Loading…
Cancel
Save