fix: shed: diff command

This commit is contained in:
Aayush Rajasekaran
2022-02-27 20:03:45 -05:00
committed by GitHub
parent 6d0066eafa
commit 92c07f877b
+1 -1
View File
@@ -35,7 +35,7 @@ var diffStateTrees = &cli.Command{
return xerrors.Errorf("expected two state-tree roots")
}
argA := cctx.Args().Get(1)
argA := cctx.Args().Get(0)
rootA, err := cid.Parse(argA)
if err != nil {
return xerrors.Errorf("first state-tree root (%q) is not a CID: %w", argA, err)