Skip to content

Commit

Permalink
break after 80 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Jan 3, 2024
1 parent 367a03f commit b7a7b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mempool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,8 @@ 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, then we won't accept it into the mempool as
// it can't be mined yet.
// 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)
if err != nil {
Expand Down

0 comments on commit b7a7b15

Please sign in to comment.