tcosigner pool: don't show both sign and send buttons - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 97ffa93fcfe7865ca64b124d2a0f9957e9d24f0c DIR parent 7bf91fb7b6ab8b9e49c8c34c4f42836a2cb6c11d HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 7 Aug 2015 18:47:23 +0200 cosigner pool: don't show both sign and send buttons Diffstat: M plugins/cosigner_pool.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/plugins/cosigner_pool.py b/plugins/cosigner_pool.py t@@ -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()