Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 23, 2024
1 parent 11b2230 commit 5aab762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/keeper/tally.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (k Keeper) Tally(ctx context.Context, params customtypes.Params, proposal c
TotalVestingPower: totalVestingPower.String(),
}

// If there is no staked or vesting coins, the proposal fails
// If there is no (staked + vesting) coins, the proposal fails
totalPower := totalVestingPower.Add(totalStakingPower)
if totalPower.IsZero() {
return false, false, false, tallyResults, nil
Expand Down

0 comments on commit 5aab762

Please sign in to comment.