From b13e5cb2ed578aaab4d6dfdf74cc1e01db074856 Mon Sep 17 00:00:00 2001 From: veth <162897869+VitalikButerinEth@users.noreply.github.com> Date: Fri, 31 May 2024 16:21:18 +0800 Subject: [PATCH] chore: fix comment (#20498) 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 {