fix: lotus-miner sectors refs to use markets API instead of storage miner API

This commit is contained in:
Dirk McCormick 2021-08-03 11:16:34 +02:00
parent 3be2681824
commit ae0680a5de

View File

@ -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
}