Browse Source

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

(previously button would be shown for a watch-only multisig wallet)
master
SomberNight 6 years ago
parent
commit
36629f0957
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/plugins/cosigner_pool/qt.py

2
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:

Loading…
Cancel
Save