Reformat for pep8

pull/906/head
Nikhil Parasaram 6 years ago
parent 139222e431
commit c41a32a3b5
  1. 5
      mythril/mythril/mythril_disassembler.py

@ -219,7 +219,6 @@ class MythrilDisassembler:
or [position, length, array]
:return: The corresponding storage slot and it's value
"""
print(address, params, type(address))
if params is None:
params = []
(position, length, mappings) = (0, 1, [])
@ -290,11 +289,11 @@ class MythrilDisassembler:
hex(i), self.eth.eth_getStorageAt(address, i)
)
)
print(outtxt)
except FileNotFoundError as e:
raise CriticalError("IPC error: " + str(e))
except ConnectionError:
raise CriticalError(
"Could not connect to RPC server. Make sure that your node is running and that RPC parameters are set correctly."
"Could not connect to RPC server. "
"Make sure that your node is running and that RPC parameters are set correctly."
)
return "\n".join(outtxt)

Loading…
Cancel
Save