Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

Commit c681347

Browse files
committed
move genesis fields into RequestInitChain. some nullable=false
1 parent 512b312 commit c681347

File tree

3 files changed

+190
-215
lines changed

3 files changed

+190
-215
lines changed

example/kvstore/helpers.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func RandVals(cnt int) []types.Validator {
3333
// don't make any tx that modify the validator state
3434
func InitKVStore(app *PersistentKVStoreApplication) {
3535
app.InitChain(types.RequestInitChain{
36-
Validators: RandVals(1),
37-
GenesisFile: types.GenesisFile{},
36+
Validators: RandVals(1),
3837
})
3938
}

0 commit comments

Comments
 (0)