include genesis file structure

This commit is contained in:
Ethan Buchman
2018-05-31 21:59:20 -04:00
parent 355fde16fe
commit 512b3121a7
5 changed files with 196 additions and 129 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ func RandVals(cnt int) []types.Validator {
// don't make any tx that modify the validator state
func InitKVStore(app *PersistentKVStoreApplication) {
app.InitChain(types.RequestInitChain{
Validators: RandVals(1),
GenesisBytes: []byte("[]"),
Validators: RandVals(1),
GenesisFile: types.GenesisFile{},
})
}