From 8fd927b6ab3c0b9cda2add75797d218654b62e04 Mon Sep 17 00:00:00 2001 From: todaymoon Date: Sun, 9 Jun 2024 17:23:05 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: todaymoon --- x/gmm/keeper/pool.go | 2 +- x/interchainquery/client/cli/query.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/gmm/keeper/pool.go b/x/gmm/keeper/pool.go index 4fa34e86..a2f38e3e 100644 --- a/x/gmm/keeper/pool.go +++ b/x/gmm/keeper/pool.go @@ -110,7 +110,7 @@ func GetPoolKey(count uint64) []byte { return []byte(fmt.Sprintf("%020d", count)) } -// GetAllInterchainLiquidityPool returns all interchainLiquidityPool +// GetAllPool returns all pool func (k Keeper) GetAllPool(ctx sdk.Context) (list []types.Pool) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(string(types.KeyPoolsPrefix))) diff --git a/x/interchainquery/client/cli/query.go b/x/interchainquery/client/cli/query.go index 5f197155..afa3fce6 100644 --- a/x/interchainquery/client/cli/query.go +++ b/x/interchainquery/client/cli/query.go @@ -33,7 +33,7 @@ func GetQueryCmd() *cobra.Command { return cmd } -// GetCmdQueries provides a list of all pending queries +// GetCmdListPendingQueries provides a list of all pending queries // (queries that have not have been requested but have not received a response) func GetCmdListPendingQueries() *cobra.Command { cmd := &cobra.Command{