Skip to content

Commit

Permalink
Reformat code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cleanunicorn committed Jul 27, 2019
1 parent 817df67 commit 8b735e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion theo/exploit/exploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def execute(self, nonce=None):
)
)


def _front_back_run(
self, flush=False, nonce_index=None, wait_txs=None, send_txs=None, run_type=None
):
Expand Down
2 changes: 1 addition & 1 deletion theo/file/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def exploits_from_file(
file, rpcHTTP=None, rpcWS=None, rpcIPC=None, contract="", account_pk="", timeout=300,
file, rpcHTTP=None, rpcWS=None, rpcIPC=None, contract="", account_pk="", timeout=300
):
with open(file) as f:
exploit_list = json.load(f)
Expand Down
4 changes: 3 additions & 1 deletion theo/interfaces/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def start_repl(args):
print(exploits)

# Add local tools for console
w3 = Web3(Web3.HTTPProvider(args.rpc_http, request_kwargs={"timeout": args.timeout}))
w3 = Web3(
Web3.HTTPProvider(args.rpc_http, request_kwargs={"timeout": args.timeout})
)
from theo.exploit.exploit import Exploit
from theo.exploit.tx import Tx

Expand Down

0 comments on commit 8b735e6

Please sign in to comment.