From c828ae952d245f2cf25ef35ea6cd2658ebb62450 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 25 Oct 2024 05:46:47 +0000 Subject: [PATCH] fix duplicate mempool txs in address endpoint --- src/rest.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/rest.rs b/src/rest.rs index e503191e..be73d5a4 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -937,14 +937,6 @@ fn handle_request( TxidLocation::Chain(height) => Some(height), }; - txs.extend( - query - .mempool() - .history(&script_hash[..], after_txid.as_ref(), max_txs) - .into_iter() - .map(|tx| (tx, None)), - ); - if txs.len() < max_txs { let after_txid_ref = if !txs.is_empty() { // If there are any txs, we know mempool found the