mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application. That way the application has access to the chain_id, the timestap, ...
This commit is contained in:
@@ -30,7 +30,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),
|
||||
AppStateBytes: []byte("[]"),
|
||||
Validators: RandVals(1),
|
||||
GenesisBytes: []byte("[]"),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user