Skip to content

Commit a945200

Browse files
authored
FixWorkerConnect (#591)
Signed-off-by: elestrias <[email protected]>
1 parent 1154c81 commit a945200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api/storage_miner/storage_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ namespace fc::api {
196196
RemoteWorker::connectRemoteWorker(*io, api, address));
197197
spdlog::info("Connected to a remote worker at {}", address);
198198

199-
OUTCOME_CB1(sector_manager->addWorker(std::move(worker)));
199+
cb(sector_manager->addWorker(std::move(worker)));
200200
});
201201
};
202202

0 commit comments

Comments
 (0)