electrum

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

commit 36629f095791fdbf592c601243f03c96dd15de3b
parent 45a309ff25af2b1c437b3dcf2b3c6a18b66b6aee
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun, 23 Feb 2020 20:38:57 +0100

cosigner_pool plugin: don't show button in tx dialog before finalizing

(previously button would be shown for a watch-only multisig wallet)

Diffstat:
Melectrum/plugins/cosigner_pool/qt.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/plugins/cosigner_pool/qt.py b/electrum/plugins/cosigner_pool/qt.py @@ -153,7 +153,7 @@ class Plugin(BasePlugin): @hook def transaction_dialog_update(self, d: 'TxDialog'): - if d.tx.is_complete() or d.wallet.can_sign(d.tx): + if not d.finalized or d.tx.is_complete() or d.wallet.can_sign(d.tx): d.cosigner_send_button.setVisible(False) return for window, xpub, K, _hash in self.cosigner_list: