From e41c65c92d5d088bc1f7d4438ff4e4941b7fde2d Mon Sep 17 00:00:00 2001 From: Solovyov1796 <xinyu@0g.ai> Date: Tue, 11 Mar 2025 02:14:51 +0800 Subject: [PATCH] update error message --- app/priority_nonce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/priority_nonce.go b/app/priority_nonce.go index 5435fa21..288b77fc 100644 --- a/app/priority_nonce.go +++ b/app/priority_nonce.go @@ -203,7 +203,7 @@ func (mp *PriorityNonceMempool) Insert(ctx context.Context, tx sdk.Tx) error { } if !mp.canInsert(txInfo.sender) { - return errMempoolTooManyTxs + return errors.Wrapf(errMempoolTooManyTxs, "sender %s has too many txs in mempool", txInfo.sender) } // init sender index if not exists