1
0

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

(previously button would be shown for a watch-only multisig wallet)
This commit is contained in:
SomberNight
2020-02-23 20:38:57 +01:00
parent 45a309ff25
commit 36629f0957

View File

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