From 8da64d710e2d9c86d2f6133381aa18805b3d3e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 3 Feb 2020 04:48:56 +0100 Subject: [PATCH] sealing: Work around broken remote sector put --- node/impl/storminer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/node/impl/storminer.go b/node/impl/storminer.go index 961d27a70..7a60119c5 100644 --- a/node/impl/storminer.go +++ b/node/impl/storminer.go @@ -107,7 +107,8 @@ func (sm *StorageMinerAPI) remotePutSector(w http.ResponseWriter, r *http.Reques return } - path, err := sm.SectorBuilder.SectorPath(fs.DataType(vars["type"]), id) + // This is going to get better with worker-to-worker transfers + path, err := sm.SectorBuilder.AllocSectorPath(fs.DataType(vars["type"]), id, true) if err != nil { log.Error(err) w.WriteHeader(500)