From ac39417f4445eb2352f5a14ff298c6c1be8427e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 28 Apr 2021 18:35:13 +0200 Subject: [PATCH] Fix deadline toggling test --- node/test/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/test/builder.go b/node/test/builder.go index f4088a5bab2..b247847d623 100644 --- a/node/test/builder.go +++ b/node/test/builder.go @@ -485,7 +485,7 @@ func mockSbBuilderOpts(t *testing.T, fullOpts []test.FullNodeOpts, storage []tes } fulls[i].Stb = storageBuilder(fulls[i], mn, node.Options( - node.Override(new(*mock.SectorMgr), func() (sectorstorage.SectorManager, error) { + node.Override(new(*mock.SectorMgr), func() (*mock.SectorMgr, error) { return mock.NewMockSectorMgr(nil), nil }), node.Override(new(sectorstorage.SectorManager), node.From(new(*mock.SectorMgr))),