From a3d59b7a0f550b2873468f2959790bd83d5397cc Mon Sep 17 00:00:00 2001 From: Javed Khan Date: Wed, 12 Jul 2023 11:12:07 -0700 Subject: [PATCH] cmd: rpc.go fix error parsing height message --- cmd/celestia/rpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/celestia/rpc.go b/cmd/celestia/rpc.go index 169ca4b8d1..64b21aaf86 100644 --- a/cmd/celestia/rpc.go +++ b/cmd/celestia/rpc.go @@ -195,7 +195,7 @@ func parseParams(method string, params []string) []interface{} { // 1. Height num, err := strconv.ParseUint(params[0], 10, 64) if err != nil { - panic("Error parsing gas limit: uint64 could not be parsed.") + panic("Error parsing height: uint64 could not be parsed.") } parsedParams[0] = num // 2. NamespaceID @@ -215,7 +215,7 @@ func parseParams(method string, params []string) []interface{} { // 1. Height num, err := strconv.ParseUint(params[0], 10, 64) if err != nil { - panic("Error parsing gas limit: uint64 could not be parsed.") + panic("Error parsing height: uint64 could not be parsed.") } parsedParams[0] = num // 2. Namespace