dont show supports to foreign address if the inputs are also foreign

This commit is contained in:
Lex Berezhny 2019-03-29 15:33:50 -04:00 committed by Thomas Zarebczan
parent 0de17730ca
commit a9ba1fc1a7

View file

@ -368,6 +368,7 @@ class LbryWalletManager(BaseWalletManager):
'is_tip': not is_my_inputs,
'nout': txo.position
})
if is_my_inputs:
for txo in tx.other_support_outputs:
item['support_info'].append({
'address': txo.get_address(account.ledger),