mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-19 23:18:10 -07:00
mempool: fixes
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user