fix trustedcoin hook

This commit is contained in:
ThomasV 2016-09-02 10:42:41 +02:00
parent 494d7faa22
commit 2baf8e2079
1 changed files with 2 additions and 0 deletions

View File

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