Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed Oct 23, 2023
1 parent be110a6 commit fdf67a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/jsonrpc/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdf67a7

Please sign in to comment.