Skip to content

Commit

Permalink
patch 21
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorTrustyDev committed Sep 26, 2024
1 parent 68f4a75 commit 95f760e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/dymns/keeper/msg_server_register_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ func (k msgServer) RegisterName(goCtx context.Context, msg *dymnstypes.MsgRegist

priceParams := k.PriceParams(ctx)

addDurationInSeconds := 86400 * 365 * msg.Duration
addDurationInSeconds := 86400 * // number of seconds per day
365 * // number of days per year
msg.Duration // number of registration years

firstYearPrice := priceParams.GetFirstYearDymNamePrice(msg.Name)

Expand Down

0 comments on commit 95f760e

Please sign in to comment.