From d1dc30b14d517a625c4f0160ef40d343717847e9 Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Tue, 3 Aug 2021 11:48:48 +0200 Subject: [PATCH] fix: lotus-miner storage-deals set-deal-duration to use markets API instead of storage miner API --- cmd/lotus-miner/market.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-miner/market.go b/cmd/lotus-miner/market.go index a9d1f2f46..be1c5fcd2 100644 --- a/cmd/lotus-miner/market.go +++ b/cmd/lotus-miner/market.go @@ -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.", ArgsUsage: "", Action: func(cctx *cli.Context) error { - nodeApi, closer, err := lcli.GetStorageMinerAPI(cctx) + nodeApi, closer, err := lcli.GetMarketsAPI(cctx) if err != nil { return err }