Fix slash blocks
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
f752770a47
commit
ce7be477ce
@ -470,7 +470,7 @@ var slashConsensusFault = &cli.Command{
|
|||||||
return xerrors.Errorf("getting block 1: %w", err)
|
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 {
|
if err != nil {
|
||||||
return xerrors.Errorf("parsing cid 2: %w", err)
|
return xerrors.Errorf("parsing cid 2: %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user