fix duplicate mempool txs in address endpoint
This commit is contained in:
parent
80758eac15
commit
c828ae952d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user