From fdf67a7829c3354678caec0310d713bbc4cddef4 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Mon, 23 Oct 2023 21:08:34 +0800 Subject: [PATCH] update error message --- rpc/jsonrpc/types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/jsonrpc/types/types.go b/rpc/jsonrpc/types/types.go index 2556dd35b..e2c2028cc 100644 --- a/rpc/jsonrpc/types/types.go +++ b/rpc/jsonrpc/types/types.go @@ -290,7 +290,7 @@ func NewEthRPCSuccessResponse(id jsonrpcid, res interface{}, method string) RPCR return RPCInternalError(id, fmt.Errorf("error decode response: %w", err)) } case EthSendRawTransaction: - return RPCInvalidRequestError(id, fmt.Errorf("Transfer BNB through EVM wallet on Greenfield is not available yet, please go to decellar.io or refer to latest docs.\n")) + return RPCInvalidRequestError(id, fmt.Errorf("transfer BNB through EVM wallet on Greenfield is not available yet, please go to decellar.io or refer to latest docs")) //return int string for net_version case NetVersion: hexStr := hex.EncodeToString(bz)