confirm that Miner struct satisfies sectorblocks.SectorBuilder
This commit is contained in:
parent
83e55dc09e
commit
1295c924e1
@ -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{}
|
||||||
|
Loading…
Reference in New Issue
Block a user