diff --git a/cli/chain.go b/cli/chain.go index 4562ed5c1..6c7c28b0c 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -125,7 +125,7 @@ var chainReadObjCmd = &cli.Command{ } ctx := ReqContext(cctx) - c, err := cid.Parse(cctx.Args().First) + c, err := cid.Decode(cctx.Args().First()) if err != nil { return fmt.Errorf("failed to parse cid input: %s", err) }