fixing tests

This commit is contained in:
rigelrozanski
2018-05-17 09:19:05 -04:00
parent a0c73372be
commit 9bb01c9504
2 changed files with 12 additions and 5 deletions
+3
View File
@@ -247,6 +247,9 @@ func (k Keeper) updateValidators(ctx sdk.Context, store sdk.KVStore, updatedVali
// add any kicked out validators to the accumulated changes for tendermint
for key, value := range toKickOut {
if value == nil {
continue
}
addr := AddrFromKey([]byte(key))
var validator Validator