new seed_version: remove whitespaces only between CJK characters
This commit is contained in:
@@ -16,7 +16,7 @@ from amountedit import AmountEdit
|
||||
import sys
|
||||
import threading
|
||||
from electrum.plugins import run_hook
|
||||
|
||||
from electrum.mnemonic import prepare_seed
|
||||
|
||||
MSG_ENTER_ANYTHING = _("Please enter a wallet seed, a master public key, a list of Bitcoin addresses, or a list of private keys")
|
||||
MSG_SHOW_MPK = _("This is your master public key")
|
||||
@@ -114,8 +114,7 @@ class InstallWizard(QDialog):
|
||||
r = self.enter_seed_dialog(MSG_VERIFY_SEED, sid, func)
|
||||
if not r:
|
||||
return
|
||||
|
||||
if r != seed:
|
||||
if prepare_seed(r) != prepare_seed(seed):
|
||||
QMessageBox.warning(None, _('Error'), _('Incorrect seed'), _('OK'))
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user