Merge pull request #8361 from filecoin-project/gstuart/set-ask-optional-params

--max-piece-size in set-ask is no longer required
This commit is contained in:
Łukasz Magiera 2022-03-23 16:08:35 +01:00 committed by GitHub
commit dbc6b32a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,7 @@ var setAskCmd = &cli.Command{
Name: "max-piece-size", Name: "max-piece-size",
Usage: "Set maximum piece size (w/bit-padding, in bytes) in ask to `SIZE`", Usage: "Set maximum piece size (w/bit-padding, in bytes) in ask to `SIZE`",
DefaultText: "miner sector size", DefaultText: "miner sector size",
Value: "0",
}, },
}, },
Action: func(cctx *cli.Context) error { Action: func(cctx *cli.Context) error {