We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d551ed commit 2c72d53Copy full SHA for 2c72d53
x/vesting/module.go
@@ -44,7 +44,7 @@ func (AppModuleBasic) Name() string {
44
return types.ModuleName
45
}
46
47
-// RegisterCodec registers the module's types with the given codec.
+// RegisterLegacyAminoCodec registers the module's types with the given codec.
48
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
49
types.RegisterLegacyAminoCodec(cdc)
50
x/vesting/types/period.go
@@ -31,7 +31,7 @@ func (p Periods) TotalDuration() time.Duration {
31
return time.Duration(totalLen) * time.Second
32
33
34
-// TotalDuration returns the sum of coins for the period.
+// TotalAmount returns the sum of coins for the period.
35
func (p Periods) TotalAmount() sdk.Coins {
36
total := sdk.Coins{}
37
for _, period := range p {
0 commit comments