chore: fix comment (#20498)

Signed-off-by: VitalikButerinEth <csyingyu@126.com>
This commit is contained in:
veth
2024-05-31 08:21:18 +00:00
committed by GitHub
parent fa371f5e23
commit b13e5cb2ed
+1 -1
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 {