From fa67ccb5f35129c7431470722a85ddbd8adca5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 8 Nov 2019 22:00:01 +0100 Subject: [PATCH] Fix storageminer sectorblocks constructor --- node/builder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),