mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
fix: valid default genesis state (#805)
This commit is contained in:
parent
44d4d19565
commit
176c1973d3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user