Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
parameter name changed to more understandable
Browse files Browse the repository at this point in the history
  • Loading branch information
jolly-fellow committed Nov 4, 2022
1 parent 698ccf3 commit 3d91bce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dune/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
elif args.send_action is not None:
dune_sys.send_action(args.send_action[1], args.send_action[0],
args.send_action[2], args.send_action[3])

elif args.get_table is not None:
dune_sys.get_table(args.get_table[0], args.get_table[1],
args.get_table[2])
Expand Down
4 changes: 2 additions & 2 deletions src/dune/dune.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ def export_wallet(self):
self._docker.tar_dir("wallet", "_wallet")
self._docker.cp_to_host("/app/wallet.tgz", "wallet.tgz")

def import_wallet(self, d):
self._docker.cp_from_host(d, "wallet.tgz")
def import_wallet(self, path):
self._docker.cp_from_host(path, "wallet.tgz")
self._docker.untar("wallet.tgz")
self._docker.execute_cmd(["mv", "_wallet/.wallet.pw", "/app"])
self._docker.execute_cmd(["mv", "_wallet", "/root"])
Expand Down

0 comments on commit 3d91bce

Please sign in to comment.