Fix slash blocks

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-01-31 17:07:37 -08:00
parent f752770a47
commit ce7be477ce
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

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