Browse Source

fix trustedcoin hook

283
ThomasV 8 years ago
parent
commit
2baf8e2079
  1. 2
      plugins/trustedcoin/trustedcoin.py

2
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:

Loading…
Cancel
Save