From 2f6f28cb151c3e05fc9156bf02ca47203c1b0c63 Mon Sep 17 00:00:00 2001 From: goodfirm Date: Thu, 19 Dec 2024 18:58:05 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: goodfirm --- relayer/chains/cosmos/provider.go | 2 +- relayer/chains/penumbra/provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relayer/chains/cosmos/provider.go b/relayer/chains/cosmos/provider.go index 11491be8c..0f5e0ef7b 100644 --- a/relayer/chains/cosmos/provider.go +++ b/relayer/chains/cosmos/provider.go @@ -268,7 +268,7 @@ func (cc *CosmosProvider) Sprint(toPrint proto.Message) (string, error) { return string(out), nil } -// SetPCAddr sets the rpc-addr for the chain. +// SetRpcAddr sets the rpc-addr for the chain. // It will fail if the rpcAddr is invalid(not a url). func (cc *CosmosProvider) SetRpcAddr(rpcAddr string) error { cc.PCfg.RPCAddr = rpcAddr diff --git a/relayer/chains/penumbra/provider.go b/relayer/chains/penumbra/provider.go index c4ef95f96..d57cff64d 100644 --- a/relayer/chains/penumbra/provider.go +++ b/relayer/chains/penumbra/provider.go @@ -229,7 +229,7 @@ func (cc *PenumbraProvider) Sprint(toPrint proto.Message) (string, error) { return string(out), nil } -// SetPCAddr sets the rpc-addr for the chain. +// SetRpcAddr sets the rpc-addr for the chain. // It will fail if the rpcAddr is invalid(not a url). func (cc *PenumbraProvider) SetRpcAddr(rpcAddr string) error { cc.PCfg.RPCAddr = rpcAddr