add updated validator set to node test

This commit is contained in:
William Banfield
2022-03-15 13:46:56 -04:00
parent 0ed4faed3a
commit 3a8bcf87b2
2 changed files with 9 additions and 2 deletions

View File

@@ -159,6 +159,7 @@ func (store dbStore) save(state State, key []byte) error {
}
}
// Save next validators.
fmt.Println("saving validators for height ", nextHeight+1)
err := store.saveValidatorsInfo(nextHeight+1, state.LastHeightValidatorsChanged, state.NextValidators, batch)
if err != nil {
return err