cosigner pool: don't show both sign and send buttons

This commit is contained in:
ThomasV 2015-08-07 18:47:23 +02:00
parent 7bf91fb7b6
commit 97ffa93fcf
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ class Plugin(BasePlugin):
if d.tx.is_complete():
self.send_button.hide()
return
if self.wallet.can_sign(d.tx):
self.send_button.hide()
return
for xpub, K, _hash in self.cosigner_list:
if self.cosigner_can_sign(d.tx, xpub):
self.send_button.show()