1
0

wizard: show passphrase in the same window as the seed

This commit is contained in:
ThomasV
2016-08-29 15:33:16 +02:00
parent 5e90b3a42d
commit 99a3250b3f
8 changed files with 218 additions and 135 deletions

View File

@@ -209,7 +209,7 @@ class Deterministic_KeyStore(Software_KeyStore):
return pw_decode(self.seed, password).encode('utf8')
def get_passphrase(self, password):
return pw_decode(self.passphrase, password).encode('utf8')
return pw_decode(self.passphrase, password).encode('utf8') if self.passphrase else ''