Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: pudongair <744355276@qq.com>
  • Loading branch information
pudongair committed Jul 19, 2024
1 parent 1d551ed commit 323cc30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/vesting/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (AppModuleBasic) Name() string {
return types.ModuleName
}

// RegisterCodec registers the module's types with the given codec.
// RegisterLegacyAminoCodec registers the module's types with the given codec.
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
types.RegisterLegacyAminoCodec(cdc)
}
Expand Down
2 changes: 1 addition & 1 deletion x/vesting/types/period.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (p Periods) TotalDuration() time.Duration {
return time.Duration(totalLen) * time.Second
}

// TotalDuration returns the sum of coins for the period.
// TotalAmount returns the sum of coins for the period.
func (p Periods) TotalAmount() sdk.Coins {
total := sdk.Coins{}
for _, period := range p {
Expand Down

0 comments on commit 323cc30

Please sign in to comment.