We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9dd821 commit f673f70Copy full SHA for f673f70
crates/electrum/src/electrum_ext.rs
@@ -46,8 +46,10 @@ impl RelevantTxids {
46
let new_txs = client.batch_transaction_get(&missing)?;
47
let mut graph = TxGraph::<ConfirmationHeightAnchor>::new(new_txs);
48
for (txid, anchors) in self.0 {
49
- if let Some(seen_at) = seen_at {
50
- let _ = graph.insert_seen_at(txid, seen_at);
+ if anchors.is_empty() {
+ if let Some(seen_at) = seen_at {
51
+ let _ = graph.insert_seen_at(txid, seen_at);
52
+ }
53
}
54
for anchor in anchors {
55
let _ = graph.insert_anchor(txid, anchor);
0 commit comments