Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Dec 27, 2023
1 parent 4af0ca8 commit b734f8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mempool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,7 @@ func (mp *TxPool) validateReplacement(tx *btcutil.Tx,
func (mp *TxPool) maybeAcceptTransaction(tx *btcutil.Tx, isNew, rateLimit, rejectDupOrphans bool) ([]*chainhash.Hash, *TxDesc, error) {
txHash := tx.Hash()

// If a transaction has witness data, and segwit isn't active yet, If
// segwit isn't active yet, then we won't accept it into the mempool as
// If a transaction has witness data, and segwit isn't active yet, then we won't accept it into the mempool as
// it can't be mined yet.
if tx.MsgTx().HasWitness() {
segwitActive, err := mp.cfg.IsDeploymentActive(chaincfg.DeploymentSegwit)
Expand Down

0 comments on commit b734f8d

Please sign in to comment.