1
0

follow-up prev (commands)

This commit is contained in:
SomberNight
2019-09-05 18:30:04 +02:00
parent 9ec9e1760a
commit 58681e4d07
6 changed files with 20 additions and 12 deletions

View File

@@ -264,6 +264,8 @@ class Deterministic_KeyStore(Software_KeyStore):
self.seed = self.format_seed(seed)
def get_seed(self, password):
if not self.has_seed():
raise Exception("This wallet has no seed words")
return pw_decode(self.seed, password, version=self.pw_hash_version)
def get_passphrase(self, password):