Merge pull request #256 from filecoin-project/feat/why-is-bad-at-code
realize that i'm human and make many mistakes
This commit is contained in:
commit
6024ddae0c
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user