electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8eb4247ac44d76e5c3d99c97dd9c4a3f0b91f0ef
parent 15de954d6a916081cd45e7c0d7a1282ec6e2b4b5
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 13 Oct 2020 17:19:47 +0200

kivy: allow setting password for watch-only wallets

closes #6622

This has been only disabled for historical reasons: for a long time,
wallets in kivy were only keystore-encrypted, but watch-only wallets
do not have a keystore. Now they are storage-encrypted so passwords make sense.

Diffstat:
Melectrum/gui/kivy/uix/dialogs/settings.py | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/electrum/gui/kivy/uix/dialogs/settings.py b/electrum/gui/kivy/uix/dialogs/settings.py @@ -18,7 +18,6 @@ Builder.load_string(''' <SettingsDialog@Popup> id: settings title: _('Electrum Settings') - disable_password: False has_pin_code: False use_encryption: False BoxLayout: @@ -85,7 +84,6 @@ Builder.load_string(''' action: partial(root.boolean_dialog, 'use_change', _('Use change addresses'), self.message) CardSeparator SettingsItem: - disabled: root.disable_password title: _('Password') description: _("Change wallet password.") action: root.change_password @@ -126,7 +124,6 @@ class SettingsDialog(Factory.Popup): def update(self): self.wallet = self.app.wallet - self.disable_password = self.wallet.is_watching_only() if self.wallet else True self.use_encryption = self.wallet.has_password() if self.wallet else False self.has_pin_code = self.app.has_pin_code()