fix: shed: diff command
This commit is contained in:
parent
6d0066eafa
commit
92c07f877b
@ -35,7 +35,7 @@ var diffStateTrees = &cli.Command{
|
|||||||
return xerrors.Errorf("expected two state-tree roots")
|
return xerrors.Errorf("expected two state-tree roots")
|
||||||
}
|
}
|
||||||
|
|
||||||
argA := cctx.Args().Get(1)
|
argA := cctx.Args().Get(0)
|
||||||
rootA, err := cid.Parse(argA)
|
rootA, err := cid.Parse(argA)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return xerrors.Errorf("first state-tree root (%q) is not a CID: %w", argA, err)
|
return xerrors.Errorf("first state-tree root (%q) is not a CID: %w", argA, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user