Skip to content

Commit

Permalink
Update app/validate_txs.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
ninabarbakadze and rootulp authored Dec 11, 2024
1 parent cbd099a commit 0e99e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/validate_txs.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func separateTxs(_ client.TxConfig, rawTxs [][]byte) ([][]byte, []*tx.BlobTx) {
//
// Side-effect: arranges all normal transactions before all blob transactions.
func FilterTxs(logger log.Logger, ctx sdk.Context, handler sdk.AnteHandler, txConfig client.TxConfig, txs [][]byte) [][]byte {
// all transactions should be below the max tx size
// all transactions should be less than or equal to the max tx size
maxTxSize := appconsts.MaxTxSize(ctx.BlockHeader().Version.App)
//nolint:prealloc
var txsBelowLimit [][]byte
Expand Down

0 comments on commit 0e99e30

Please sign in to comment.