From ce7be477ced8b6b6f118fdabb6bd6bcc4d8506fe Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 31 Jan 2020 17:07:37 -0800 Subject: [PATCH] Fix slash blocks Signed-off-by: Jakub Sztandera --- cli/chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/chain.go b/cli/chain.go index b9f27a685..2716d48ad 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -470,7 +470,7 @@ var slashConsensusFault = &cli.Command{ return xerrors.Errorf("getting block 1: %w", err) } - c2, err := cid.Parse(cctx.Args().Get(0)) + c2, err := cid.Parse(cctx.Args().Get(1)) if err != nil { return xerrors.Errorf("parsing cid 2: %w", err) }