From 1336d8855db86f142ac8e6eaa1b8c8c38218e4d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 21 Jan 2021 14:13:36 +0100 Subject: [PATCH] storagefsm: Drop addpiece wait after fixing storageadapter --- extern/storage-sealing/input.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/extern/storage-sealing/input.go b/extern/storage-sealing/input.go index b1a8f1b74..280a8698e 100644 --- a/extern/storage-sealing/input.go +++ b/extern/storage-sealing/input.go @@ -181,8 +181,6 @@ func (m *Sealing) handleAddPiece(ctx statemachine.Context, sector SectorInfo) er }) } - time.Sleep(1 * time.Second) // TODO: deal tests are unhappy without this - ppi, err := m.sealer.AddPiece(sectorstorage.WithPriority(ctx.Context(), DealSectorPriority), m.minerSector(sector.SectorType, sector.SectorNumber), pieceSizes,