remove apphash

This commit is contained in:
Marko Baricevic
2021-03-26 14:12:09 +00:00
parent 19a375aaab
commit b39fdda57b
5 changed files with 1 additions and 7 deletions
-1
View File
@@ -112,7 +112,6 @@ func makeState(nVals, height int) (sm.State, dbm.DB, map[string]types.PrivValida
s, _ := sm.MakeGenesisState(&types.GenesisDoc{
ChainID: chainID,
Validators: vals,
AppHash: nil,
})
stateDB := dbm.NewMemDB()
+1 -1
View File
@@ -370,6 +370,6 @@ func MakeGenesisState(genDoc *types.GenesisDoc) (State, error) {
ConsensusParams: *genDoc.ConsensusParams,
LastHeightConsensusParamsChanged: genDoc.InitialHeight,
AppHash: genDoc.AppHash,
AppHash: []byte(""),
}, nil
}