diff --git a/client/broadcast.go b/client/broadcast.go index 0f90be17987..bc5f65d8f2e 100644 --- a/client/broadcast.go +++ b/client/broadcast.go @@ -78,7 +78,7 @@ func CheckCometError(err error, tx cmttypes.Tx) *sdk.TxResponse { TxHash: txHash, } - case strings.Contains(errStr, "mempool tx max capacity"): + case strings.Contains(errStr, "mempool rate limit exceeded"): return &sdk.TxResponse{ Code: sdkerrors.ErrMempoolRateLimitExceeded.ABCICode(), Codespace: sdkerrors.ErrMempoolRateLimitExceeded.Codespace(),