fix: valid default genesis state (#805)

This commit is contained in:
Kevin Davis 2021-02-08 08:00:37 -07:00 committed by GitHub
parent 44d4d19565
commit 176c1973d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ func NewGenesisState(prevBlockTime time.Time) GenesisState {
// DefaultGenesisState - Return a default genesis state // DefaultGenesisState - Return a default genesis state
func DefaultGenesisState() GenesisState { func DefaultGenesisState() GenesisState {
return NewGenesisState(tmtime.Canonical(time.Unix(0, 0))) return NewGenesisState(tmtime.Canonical(time.Unix(1, 0)))
} }
// Equal checks whether two gov GenesisState structs are equivalent // Equal checks whether two gov GenesisState structs are equivalent