Skip to content

Commit

Permalink
chores(godoc): fix wrong function name in go docs (#1700)
Browse files Browse the repository at this point in the history
Signed-off-by: luchenhan <[email protected]>
  • Loading branch information
luchenhan authored Jan 6, 2025
1 parent 1750571 commit e725a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/delayedack/keeper/fraud.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (k Keeper) OnHardFork(ctx sdk.Context, rollappID string, lastValidHeight ui
return nil
}

// DeleteRollappPacket deletes a packet receipt from the store
// deletePacketReceipt deletes a packet receipt from the store
func (k Keeper) deletePacketReceipt(ctx sdk.Context, portID, channelID string, sequence uint64) {
store := ctx.KVStore(k.channelKeeperStoreKey)
store.Delete(host.PacketReceiptKey(portID, channelID, sequence))
Expand Down
2 changes: 1 addition & 1 deletion x/iro/types/bonding_curve.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (lbc BondingCurve) TokensApproximation(startingX, spendTokens math.LegacyDe
return math.LegacyDec{}, maxIterations, fmt.Errorf("solution did not converge")
}

// SpotPrice returns the spot price at x
// spotPriceInternal returns the spot price at x
func (lbc BondingCurve) spotPriceInternal(x sdk.Dec) sdk.Dec {
xDec := osmomath.BigDecFromSDKDec(x)
nDec := osmomath.BigDecFromSDKDec(lbc.N)
Expand Down

0 comments on commit e725a11

Please sign in to comment.