mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
enable outgoing metadata on t addresses owned by the wallet
This commit is contained in:
parent
7a6033cb54
commit
6aa383daa3
@ -1046,7 +1046,8 @@ impl LightWallet {
|
|||||||
for vout in tx.vout.iter() {
|
for vout in tx.vout.iter() {
|
||||||
let taddr = self.address_from_pubkeyhash(vout.script_pubkey.address());
|
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();
|
let taddr = taddr.unwrap();
|
||||||
|
|
||||||
// Add it to outgoing metadata
|
// Add it to outgoing metadata
|
||||||
|
Loading…
Reference in New Issue
Block a user