electrum

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

commit 2baf8e2079959c843508cf3449fa10497ae7d009
parent 494d7faa22cba4313039b6cff198181b1bafb5de
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  2 Sep 2016 10:42:41 +0200

fix trustedcoin hook

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

diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py @@ -314,6 +314,8 @@ class TrustedCoinPlugin(BasePlugin): @hook def get_additional_fee(self, wallet, tx): + if type(wallet) != Wallet_2fa: + return address = wallet.billing_info['billing_address'] for _type, addr, amount in tx.outputs(): if _type == TYPE_ADDRESS and addr == address: