Skip to content

Commit

Permalink
Merge #1650: Remove convert_old_wallet.py script
Browse files Browse the repository at this point in the history
d89dcde Remove convert_old_wallet.py script (Kristaps Kaupe)

Pull request description:

  Old wallet format isn't used for years and script is broken since removal of pyaes dependency in #1526. If somebody still needs it, he can use older JoinMarket version to do conversion.

Top commit has no ACKs.

Tree-SHA512: 26308ca2807ff954ace6308a42e490d61fe8e95ed92b3453233ec72a59a38d975cfb1cf6bdeda93d4c855e6994c593f05b6cc1d2e78bc4ab3d7bde84c02a8982
  • Loading branch information
kristapsk committed Feb 10, 2024
2 parents 575a7ec + d89dcde commit e80dfac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 171 deletions.
168 changes: 0 additions & 168 deletions scripts/convert_old_wallet.py

This file was deleted.

4 changes: 1 addition & 3 deletions src/jmclient/wallet_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,9 +1518,7 @@ def open_wallet(path, ask_for_password=True, password=None, read_only=False,

if not Storage.is_storage_file(path):
raise Exception("Failed to open wallet at '{}': not a valid joinmarket"
" wallet.\n\nIf this wallet is in the old json format "
"you need to convert it using the conversion script "
"at `scripts/convert_old_wallet.py`".format(path))
" wallet.".format(path))

if ask_for_password and Storage.is_encrypted_storage_file(path):
while True:
Expand Down

0 comments on commit e80dfac

Please sign in to comment.