From 1cb76e5c45e21fd360a68256511101c13d456e68 Mon Sep 17 00:00:00 2001 From: longhutianjie Date: Tue, 3 Sep 2024 22:39:05 +0800 Subject: [PATCH] chore: remove repetitive words Signed-off-by: longhutianjie --- x/nft-transfer/client/cli/query.go | 2 +- x/nft-transfer/keeper/relay.go | 2 +- x/nft/keeper/nft.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x/nft-transfer/client/cli/query.go b/x/nft-transfer/client/cli/query.go index a8347c3c7..6c2fc3c8c 100644 --- a/x/nft-transfer/client/cli/query.go +++ b/x/nft-transfer/client/cli/query.go @@ -11,7 +11,7 @@ import ( "github.com/crypto-org-chain/chain-main/v4/x/nft-transfer/types" ) -// GetCmdQueryClassTrace defines the command to query a a class trace from a given trace hash or ibc class. +// GetCmdQueryClassTrace defines the command to query a class trace from a given trace hash or ibc class. func GetCmdQueryClassTrace() *cobra.Command { cmd := &cobra.Command{ Use: "class-trace [hash/class]", diff --git a/x/nft-transfer/keeper/relay.go b/x/nft-transfer/keeper/relay.go index 0b8163a15..4139d0686 100644 --- a/x/nft-transfer/keeper/relay.go +++ b/x/nft-transfer/keeper/relay.go @@ -131,7 +131,7 @@ func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, return k.processReceivedPacket(ctx, packet, data) } -// OnAcknowledgementPacket responds to the the success or failure of a packet +// OnAcknowledgementPacket responds to the success or failure of a packet // acknowledgement written on the receiving chain. If the acknowledgement // was a success then nothing occurs. If the acknowledgement failed, then // the sender is refunded their tokens using the refundPacketToken function. diff --git a/x/nft/keeper/nft.go b/x/nft/keeper/nft.go index df01ee60b..e86989247 100644 --- a/x/nft/keeper/nft.go +++ b/x/nft/keeper/nft.go @@ -10,7 +10,7 @@ import ( "github.com/crypto-org-chain/chain-main/v4/x/nft/types" ) -// GetNFT gets the the specified NFT +// GetNFT gets the specified NFT func (k Keeper) GetNFT(ctx sdk.Context, denomID, tokenID string) (nft exported.NFT, err error) { store := ctx.KVStore(k.storeKey)