Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Aug 8, 2024
1 parent f990f4d commit 1bc950c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mempool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func (txmp *TxMempool) CheckTx(
}

func (txmp *TxMempool) shouldExclude(wtx *WrappedTx) bool {
return txmp.config.MaxTxGas > 0 && wtx.gasWanted > txmp.config.MaxTxsBytes
return txmp.config.MaxTxGasWanted > 0 && wtx.gasWanted > txmp.config.MaxTxsBytes
}

func (txmp *TxMempool) isInMempool(tx types.Tx) bool {
Expand Down

0 comments on commit 1bc950c

Please sign in to comment.