fix "lotus-seed car" error "merkledag: not found"

This commit is contained in:
turuslan 2021-07-06 12:54:09 +03:00
parent 97207df705
commit 8697edc8b7

View File

@ -572,7 +572,7 @@ var genesisCarCmd = &cli.Command{
}
ofile := c.String("out")
jrnl := journal.NilJournal()
bstor := blockstore.NewMemorySync()
bstor := blockstore.WrapIDStore(blockstore.NewMemorySync())
sbldr := vm.Syscalls(ffiwrapper.ProofVerifier)
_, err := testing.MakeGenesis(ofile, c.Args().First())(bstor, sbldr, jrnl)()
return err