Merge pull request #1196 from filecoin-project/fix/slash-blocks

Fix slash blocks
This commit is contained in:
Whyrusleeping 2020-02-03 10:17:43 -08:00 committed by GitHub
commit 7f1335a8dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}