From aa314e9a635ab0ccf0ea160e2d6eb25bee78d0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nina=20/=20=E1=83=9C=E1=83=98=E1=83=9C=E1=83=90?= Date: Mon, 9 Dec 2024 09:30:24 +0100 Subject: [PATCH] Update app/check_tx.go Co-authored-by: Rootul P --- app/check_tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/check_tx.go b/app/check_tx.go index 7b610e00c3..3e5e2e1dd9 100644 --- a/app/check_tx.go +++ b/app/check_tx.go @@ -16,7 +16,7 @@ import ( func (app *App) CheckTx(req abci.RequestCheckTx) abci.ResponseCheckTx { tx := req.Tx - // all txs should be under the max tx size limit + // all txs must be less than or equal to the max tx size limit maxTxSize := appconsts.MaxTxSize(app.AppVersion()) currentTxSize := len(tx) if currentTxSize > appconsts.MaxTxSize(app.AppVersion()) {