enable outgoing metadata on t addresses owned by the wallet

This commit is contained in:
Cryptoforge 2020-08-04 14:57:45 -07:00
parent 7a6033cb54
commit 6aa383daa3

View File

@ -1046,7 +1046,8 @@ impl LightWallet {
for vout in tx.vout.iter() {
let taddr = self.address_from_pubkeyhash(vout.script_pubkey.address());
if taddr.is_some() && !wallet_taddrs.contains(&taddr.clone().unwrap()) {
//if taddr.is_some() && !wallet_taddrs.contains(&taddr.clone().unwrap()) {
if taddr.is_some() {
let taddr = taddr.unwrap();
// Add it to outgoing metadata