mempool: fixes

This commit is contained in:
nym21
2026-05-07 11:21:37 +02:00
parent cb74087f27
commit 9347b42c9a
21 changed files with 518 additions and 239 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ impl AppState {
pub fn tx_strategy(&self, version: Version, txid: &Txid) -> CacheStrategy {
self.sync(|q| {
if let Some(mempool) = q.mempool()
&& mempool.txs().contains(txid)
&& mempool.contains_txid(txid)
{
return CacheStrategy::MempoolHash(mempool.next_block_hash());
}