Skip to content

Commit

Permalink
Merge pull request #8202 from filecoin-project/arajasek-patch-1
Browse files Browse the repository at this point in the history
fix: shed: diff command
ZenGround0 authored Mar 1, 2022
2 parents 00e5229 + 92c07f8 commit 8091e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-shed/diff.go
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 8091e70

Please sign in to comment.