Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Moser <63419657+toteki@users.noreply.github.com>
  • Loading branch information
robert-zaremba and toteki authored Jun 28, 2023
1 parent 66d3ec4 commit a0d82e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/incentive/keeper/iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ func (k Keeper) getAllTotalUnbonding(ctx sdk.Context) sdk.Coins {

// getAllTotalBonded gets total bonded for all uTokens (used for a query)
func (k Keeper) getAllTotalBonded(ctx sdk.Context) sdk.Coins {
return store.SumCoins(k.prefixStore(ctx, keyPrefixTotalBonded), keys.NoLastByte)
return store.SumCoins(k.prefixStore(ctx, keyPrefixTotalBonded), keys.ToStr)
}

0 comments on commit a0d82e0

Please sign in to comment.