diff --git a/node/builder.go b/node/builder.go index da37bb95f..183472dbc 100644 --- a/node/builder.go +++ b/node/builder.go @@ -229,8 +229,8 @@ func Online() Option { // Storage miner ApplyIf(func(s *Settings) bool { return s.nodeType == repo.RepoStorageMiner }, - Override(new(*sectorbuilder.SectorBuilder), sectorbuilder.New), - Override(new(*sectorblocks.SectorBlocks), modules.SectorBuilder), + Override(new(*sectorbuilder.SectorBuilder), modules.SectorBuilder), + Override(new(*sectorblocks.SectorBlocks), sectorblocks.NewSectorBlocks), Override(new(storage.TicketFn), modules.SealTicketGen), Override(new(*storage.Miner), modules.StorageMiner),