storagefsm: Cleanup CC sector creation

This commit is contained in:
Łukasz Magiera
2021-02-16 17:14:59 +01:00
parent dd82729f60
commit fc5e243c92
6 changed files with 47 additions and 93 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ func (sm *StorageMinerAPI) ActorSectorSize(ctx context.Context, addr address.Add
}
func (sm *StorageMinerAPI) PledgeSector(ctx context.Context) error {
return sm.Miner.PledgeSector()
return sm.Miner.PledgeSector(ctx)
}
func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (api.SectorInfo, error) {