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:
Whyrusleeping 2019-10-01 10:45:07 -06:00 committed by GitHub
commit 6024ddae0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}