URI: 
       tfix trustedcoin hook - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2baf8e2079959c843508cf3449fa10497ae7d009
   DIR parent 494d7faa22cba4313039b6cff198181b1bafb5de
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri,  2 Sep 2016 10:42:41 +0200
       
       fix trustedcoin hook
       
       Diffstat:
         M plugins/trustedcoin/trustedcoin.py  |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
       t@@ -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: