Fixes from review

This commit is contained in:
Jae Kwon
2018-06-25 18:16:16 -07:00
parent c3296f2e01
commit 538c410bcd
7 changed files with 46 additions and 72 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ func (h *Handshaker) ReplayBlocks(state sm.State, appHash []byte, appBlockHeight
// If appBlockHeight == 0 it means that we are at genesis and hence should send InitChain.
if appBlockHeight == 0 {
nextVals := types.TM2PB.Validators(state.Validators) // state.Validators would work too.
nextVals := types.TM2PB.Validators(state.NextValidators) // state.Validators would work too.
csParams := types.TM2PB.ConsensusParams(h.genDoc.ConsensusParams)
req := abci.RequestInitChain{
Time: h.genDoc.GenesisTime.Unix(), // TODO