confirm that Miner struct satisfies sectorblocks.SectorBuilder

This commit is contained in:
Anton Evangelatov 2021-05-19 13:22:00 +02:00
parent 83e55dc09e
commit 1295c924e1

View File

@ -13,6 +13,7 @@ import (
"github.com/filecoin-project/lotus/api" "github.com/filecoin-project/lotus/api"
sealing "github.com/filecoin-project/lotus/extern/storage-sealing" sealing "github.com/filecoin-project/lotus/extern/storage-sealing"
"github.com/filecoin-project/lotus/storage/sectorblocks"
) )
// TODO: refactor this to be direct somehow // TODO: refactor this to be direct somehow
@ -132,3 +133,5 @@ func (m *Miner) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnC
return sInfo, nil return sInfo, nil
} }
var _ sectorblocks.SectorBuilder = &Miner{}