Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make function comment match function name #1348

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/skyway/keeper/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (k Keeper) RemoveFromOutgoingPoolAndRefund(ctx context.Context, txId uint64
)
}

// addUnbatchedTx creates a new transaction in the pool
// addUnbatchedTX creates a new transaction in the pool
// WARNING: Do not make this function public
func (k Keeper) addUnbatchedTX(ctx context.Context, val *types.InternalOutgoingTransferTx) error {
store := k.GetStore(ctx, types.StoreModulePrefix)
Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func GetDenomPrefixStore(denom string) []byte {
return []byte(strings.Join([]string{DenomsPrefixKey, denom, ""}, KeySeparator))
}

// GetCreatorsPrefix returns the store prefix where the list of the denoms created by a specific
// GetCreatorPrefix returns the store prefix where the list of the denoms created by a specific
// creator are stored
func GetCreatorPrefix(creator string) []byte {
return []byte(strings.Join([]string{CreatorPrefixKey, creator, ""}, KeySeparator))
Expand Down
2 changes: 1 addition & 1 deletion x/valset/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (k Keeper) Logger(ctx context.Context) log.Logger {
return sdkCtx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName))
}

// addExternalChainInfo adds external chain info, such as this conductor's address on outside chains so that
// AddExternalChainInfo adds external chain info, such as this conductor's address on outside chains so that
// we can attribute rewards for running the jobs.
func (k Keeper) AddExternalChainInfo(ctx context.Context, valAddr sdk.ValAddress, newChainInfo []*types.ExternalChainInfo) error {
return k.SetExternalChainInfoState(ctx, valAddr, newChainInfo)
Expand Down