chore: fix comment (#20498)

Signed-off-by: VitalikButerinEth <csyingyu@126.com>
This commit is contained in:
veth 2024-05-31 16:21:18 +08:00 committed by GitHub
parent fa371f5e23
commit b13e5cb2ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {