Skip to content

Commit

Permalink
Update x/staking/keeper/tokenize_share_record.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke authored May 21, 2024
1 parent c3ebc34 commit 67ef653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/staking/keeper/tokenize_share_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func updateRedelegationEntriesByAmount(amount sdk.Dec, entries []types.Redelegat
return aLeft, res1, res2
}

// ComputeRemainingRedelegatedShares takes a delegator address, validator address, and a list of redelegations
// ComputeRemainingRedelegatedSharesAfterUnbondings takes a delegator address, validator address, and a list of redelegations
// that should all be BY the delegator TO the given validator (we do not care about the source validators here).
// It computes the shares of redelegations that are *not* matched by a subsequent unbonding.
// For example, consider this scenario for delegator D and validator V, assuming that no redelegations or unbondings
Expand Down

0 comments on commit 67ef653

Please sign in to comment.