global: snapshot

This commit is contained in:
nym21
2025-12-08 22:20:18 +01:00
parent 60a38b4108
commit 68c71e62d6
4 changed files with 22 additions and 4 deletions
+6 -1
View File
@@ -76,7 +76,12 @@ impl MempoolInner {
.collect::<Vec<_>>()
}
.into_iter()
.filter_map(|txid| self.client.get_transaction(&txid).ok().map(|tx| (txid, tx)))
.filter_map(|txid| {
self.client
.get_mempool_transaction(&txid)
.ok()
.map(|tx| (txid, tx))
})
.collect::<FxHashMap<_, _>>();
let mut txs = self.txs.write();