Skip to content

Commit

Permalink
chore: remove repetitive words (#1079)
Browse files Browse the repository at this point in the history
Signed-off-by: longhutianjie <[email protected]>
Co-authored-by: mmsqe <[email protected]>
  • Loading branch information
longhutianjie and mmsqe authored Sep 4, 2024
1 parent 632d9de commit d548017
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x/nft-transfer/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down
2 changes: 1 addition & 1 deletion x/nft-transfer/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion x/nft/keeper/nft.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d548017

Please sign in to comment.