From 52a945558b6f8abb3f2610a85a4dde36e08055d0 Mon Sep 17 00:00:00 2001 From: Steven Landers Date: Mon, 29 Jan 2024 17:28:02 -0500 Subject: [PATCH] cleanup --- internal/mempool/mempool.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/mempool/mempool.go b/internal/mempool/mempool.go index 820e46593..df30dc7c0 100644 --- a/internal/mempool/mempool.go +++ b/internal/mempool/mempool.go @@ -848,7 +848,6 @@ func (txmp *TxMempool) removeTx(wtx *WrappedTx, removeFromCache bool) { // Remove the transaction from the gossip index and cleanup the linked-list // element so it can be garbage collected. - txmp.gossipIndex.Remove(wtx.gossipEl) wtx.gossipEl.DetachPrev()