Better error message when genesis is missing
This commit is contained in:
parent
16c1dc5268
commit
99acdbade0
@ -191,7 +191,7 @@ func ChainStore(lc fx.Lifecycle, bs blockstore.Blockstore, ds datastore.Batching
|
||||
|
||||
func ErrorGenesis() Genesis {
|
||||
return func() (header *chain.BlockHeader, e error) {
|
||||
return nil, xerrors.New("No genesis block provided")
|
||||
return nil, xerrors.New("No genesis block provided, provide the file with 'lotus daemon --genesis=[genesis file]'")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user