From 74aca746dec8277bda123703e2ee70030c2d61f1 Mon Sep 17 00:00:00 2001 From: VitalikButerinEth Date: Fri, 31 May 2024 12:02:03 +0800 Subject: [PATCH] chore: fix comment Signed-off-by: VitalikButerinEth --- x/auth/vesting/types/period.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/vesting/types/period.go b/x/auth/vesting/types/period.go index 6bf7bffcceeb..174bd3437a1e 100644 --- a/x/auth/vesting/types/period.go +++ b/x/auth/vesting/types/period.go @@ -31,7 +31,7 @@ func (p Periods) TotalDuration() time.Duration { return time.Duration(len) * 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 {