mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
improve duplicate outgoing metadata check
This commit is contained in:
parent
cdbe1a58dd
commit
0d4959726f
@ -1111,7 +1111,7 @@ impl LightWallet {
|
|||||||
|
|
||||||
let mut txs = self.txs.write().unwrap();
|
let mut txs = self.txs.write().unwrap();
|
||||||
if txs.get(&tx.txid()).unwrap().outgoing_metadata.iter()
|
if txs.get(&tx.txid()).unwrap().outgoing_metadata.iter()
|
||||||
.find(|om| om.address == address && om.value == note.value)
|
.find(|om| om.address == address && om.value == note.value && om.memo == memo)
|
||||||
.is_some() {
|
.is_some() {
|
||||||
warn!("Duplicate outgoing metadata");
|
warn!("Duplicate outgoing metadata");
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user