fix: lotus-miner storage-deals set-deal-duration to use markets API instead of storage miner API
This commit is contained in:
parent
ae0680a5de
commit
d1dc30b14d
@ -591,7 +591,7 @@ var setSealDurationCmd = &cli.Command{
|
|||||||
Usage: "Set the expected time, in minutes, that you expect sealing sectors to take. Deals that start before this duration will be rejected.",
|
Usage: "Set the expected time, in minutes, that you expect sealing sectors to take. Deals that start before this duration will be rejected.",
|
||||||
ArgsUsage: "<minutes>",
|
ArgsUsage: "<minutes>",
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
nodeApi, closer, err := lcli.GetStorageMinerAPI(cctx)
|
nodeApi, closer, err := lcli.GetMarketsAPI(cctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user