fix: Don't try to move removed unsealed sector files

This commit is contained in:
Łukasz Magiera 2020-06-24 00:04:02 +02:00
parent 47d9335658
commit 57bda914f9

View File

@ -424,7 +424,7 @@ func (m *Manager) FinalizeSector(ctx context.Context, sector abi.SectorID, keepU
moveUnsealed := unsealed moveUnsealed := unsealed
{ {
if len(keepUnsealed) == 0 { if len(keepUnsealed) == 0 {
unsealed = stores.FTNone moveUnsealed = stores.FTNone
} }
} }