Un-stringify storage field

pull/1165/head
Bernhard Mueller 5 years ago
parent 007ab8c25b
commit 216b999884
  1. 2
      mythril/analysis/solver.py

@ -132,7 +132,7 @@ def _get_concrete_state(initial_accounts: Dict, min_price_dict: Dict[str, int]):
data = dict() # type: Dict[str, Union[int, str]]
data["nonce"] = account.nonce
data["code"] = account.code.bytecode
data["storage"] = str(account.storage)
data["storage"] = account.storage.printable_storage
data["balance"] = hex(min_price_dict.get(address, 0))
accounts[hex(address)] = data
return {"accounts": accounts}

Loading…
Cancel
Save