electrum

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

commit 32483e64c6d3d33a384bc58f0184efe3eee9fb67
parent 6210c61eb6c1de2bd1df032051ee1b7209273df6
Author: ThomasV <thomasv@electrum.org>
Date:   Sun,  3 Jan 2016 18:37:14 +0100

fix syntax errors in trustedcoin plugin

Diffstat:
Mplugins/trustedcoin/qt.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py @@ -79,7 +79,7 @@ class Plugin(TrustedCoinPlugin): def sign_tx(self, window, tx): self.print_error("twofactor:sign_tx") wallet = window.wallet - assert isinstace(wallet, self.wallet_class) + assert isinstance(wallet, self.wallet_class) if not wallet.can_sign_without_server(): auth_code = None if need_server(wallet, tx): @@ -101,7 +101,7 @@ class Plugin(TrustedCoinPlugin): @hook def abort_send(self, window): wallet = window.wallet - assert isinstace(wallet, self.wallet_class) + assert isinstance(wallet, self.wallet_class) if not wallet.can_sign_without_server(): if wallet.billing_info is None: # request billing info before forming the transaction