From 039ca9f3b47a1ba0360074b8665d69f3cc7e8361 Mon Sep 17 00:00:00 2001 From: Cory Schwartz Date: Tue, 9 Feb 2021 17:05:56 -0800 Subject: [PATCH] return the err --- cmd/lotus-seed/genesis.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/lotus-seed/genesis.go b/cmd/lotus-seed/genesis.go index b99302de6..c68867891 100644 --- a/cmd/lotus-seed/genesis.go +++ b/cmd/lotus-seed/genesis.go @@ -330,9 +330,6 @@ var genesisCarCmd = &cli.Command{ bstor := blockstore.NewTemporarySync() sbldr := vm.Syscalls(ffiwrapper.ProofVerifier) _, err := testing.MakeGenesis(ofile, c.Args().First())(bstor, sbldr, jrnl)() - if err != nil { - return err - } - return nil + return err }, }