From ae0680a5debd9ec1d04f4ba89a1b4ab622effcb6 Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Tue, 3 Aug 2021 11:16:34 +0200 Subject: [PATCH] fix: lotus-miner sectors refs to use markets API instead of storage miner API --- cmd/lotus-miner/sectors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index 5c4581bbc..6d115e634 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -396,7 +396,7 @@ var sectorsRefsCmd = &cli.Command{ Name: "refs", Usage: "List References to sectors", Action: func(cctx *cli.Context) error { - nodeApi, closer, err := lcli.GetStorageMinerAPI(cctx) + nodeApi, closer, err := lcli.GetMarketsAPI(cctx) if err != nil { return err }