Passphrase-related fixes
Move normalize code to one place on the wallet Passphrases don't have password strength meter
This commit is contained in:
@@ -11,6 +11,7 @@ from plugin import TrezorCompatiblePlugin
|
||||
from electrum.i18n import _
|
||||
from electrum.plugins import hook
|
||||
from electrum.util import PrintError
|
||||
from electrum.wallet import BIP44_Wallet
|
||||
|
||||
|
||||
# By far the trickiest thing about this handler is the window stack;
|
||||
@@ -75,7 +76,7 @@ class QtHandler(PrintError):
|
||||
PasswordDialog.PW_PASSPHRASE)
|
||||
confirmed, p, passphrase = d.run()
|
||||
if confirmed:
|
||||
passphrase = TrezorCompatiblePlugin.normalize_passphrase(passphrase)
|
||||
passphrase = BIP44_Wallet.normalize_passphrase(passphrase)
|
||||
self.passphrase = passphrase
|
||||
self.done.set()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user