fix: err message

This commit is contained in:
Dirk McCormick 2021-11-17 12:37:15 +01:00
parent 501308239f
commit 599a6bfb24

View File

@ -42,7 +42,7 @@ var indexProvAnnounceCmd = &cli.Command{
proposalCidStr := cctx.Args().First()
proposalCid, err := cid.Parse(proposalCidStr)
if err != nil {
return fmt.Errorf("invalid deal proposal CID: %w", proposalCid)
return fmt.Errorf("invalid deal proposal CID: %w", err)
}
marketsApi, closer, err := lcli.GetMarketsAPI(cctx)