From d590f3f77d3dd218fb33d297bc84493f1d61bba8 Mon Sep 17 00:00:00 2001 From: pengyonghui <421640644@qq.com> Date: Mon, 18 Oct 2021 15:11:12 +0800 Subject: [PATCH] fix typo --- mempool/mempool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mempool/mempool.go b/mempool/mempool.go index 7ada3d2907..5595a11bfe 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -1032,8 +1032,8 @@ func (mp *TxPool) maybeAcceptTransaction(tx *btcutil.Tx, isNew, rateLimit, rejec return nil, nil, err } - // Don't allow the transaction if it exists in the main chain and is not - // not already fully spent. + // Don't allow the transaction if it exists in the main chain and is + // already fully spent. prevOut := wire.OutPoint{Hash: *txHash} for txOutIdx := range tx.MsgTx().TxOut { prevOut.Index = uint32(txOutIdx)