cwgoes comments

This commit is contained in:
rigelrozanski 2018-07-10 19:27:39 -04:00
parent 561eda3fc3
commit 9eeb47517d
1 changed files with 4 additions and 0 deletions

View File

@ -228,7 +228,11 @@ func (k Keeper) UpdateValidator(ctx sdk.Context, validator types.Validator) type
bytes.Compare(valPower, cliffPower) == -1: //(valPower < cliffPower
// skip to completion
// default case - validator was either:
// a) not-bonded and now has power-rank greater than cliff validator
// b) bonded and now has decreased in power
default:
// update the validator set for this validator
updatedVal, updated := k.UpdateBondedValidators(ctx, validator)
if updated { // updates to validator occurred to be updated