From 2baf8e2079959c843508cf3449fa10497ae7d009 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 2 Sep 2016 10:42:41 +0200 Subject: [PATCH] fix trustedcoin hook --- plugins/trustedcoin/trustedcoin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py index 5652dcc01..15a6c0793 100644 --- 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: