Skip to content

Commit

Permalink
Merge pull request #2 from HaoyangLiu/feature/upgrade
Browse files Browse the repository at this point in the history
missing a change
  • Loading branch information
wukongcheng authored Aug 2, 2018
2 parents 74e4431 + 7c7d587 commit f82dd7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion state/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ func saveState(db dbm.DB, state State, key []byte) {
nextHeight := state.LastBlockHeight + 1
saveValidatorsInfo(db, nextHeight, state.LastHeightValidatorsChanged, state.Validators)
saveConsensusParamsInfo(db, nextHeight, state.LastHeightConsensusParamsChanged, state.ConsensusParams)
db.SetSync(stateKey, state.Bytes())
//////////////////// iris/tendermint begin ///////////////////////////
db.SetSync(key, state.Bytes())
//////////////////// iris/tendermint end ///////////////////////////
}

//------------------------------------------------------------------------
Expand Down

0 comments on commit f82dd7a

Please sign in to comment.