Browse Source
storage: better error msg on unsupported seed version
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/json_db.py
|
@ -503,7 +503,7 @@ class JsonDB(Logger): |
|
|
return seed_version |
|
|
return seed_version |
|
|
|
|
|
|
|
|
def _raise_unsupported_version(self, seed_version): |
|
|
def _raise_unsupported_version(self, seed_version): |
|
|
msg = "Your wallet has an unsupported seed version." |
|
|
msg = f"Your wallet has an unsupported seed version: {seed_version}." |
|
|
if seed_version in [5, 7, 8, 9, 10, 14]: |
|
|
if seed_version in [5, 7, 8, 9, 10, 14]: |
|
|
msg += "\n\nTo open this wallet, try 'git checkout seed_v%d'"%seed_version |
|
|
msg += "\n\nTo open this wallet, try 'git checkout seed_v%d'"%seed_version |
|
|
if seed_version == 6: |
|
|
if seed_version == 6: |
|
|