querysub 0.664.0 → 0.665.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -304,7 +304,6 @@ const changeIdentityOnce = cacheWeak(async function changeIdentityOnce(connectio
|
|
|
304
304
|
IdentityController.nodes[nodeId].changeIdentity(signature, payload),
|
|
305
305
|
() => new Error(`Timeout calling changeIdentity for ${nodeId}`)
|
|
306
306
|
);
|
|
307
|
-
/*
|
|
308
307
|
if (!response) {
|
|
309
308
|
throw new Error(`No identity response from ${nodeId}, so we can't know who we are talking to.`);
|
|
310
309
|
}
|
|
@@ -322,7 +321,6 @@ const changeIdentityOnce = cacheWeak(async function changeIdentityOnce(connectio
|
|
|
322
321
|
throw new Error(`Identity response is from another machine. We connected to ${nodeId} (machine ${expectedMachineId}), but the response was signed by machine ${signerMachineId}`);
|
|
323
322
|
}
|
|
324
323
|
}
|
|
325
|
-
*/
|
|
326
324
|
if (isServer() && !payload.mountedPort) {
|
|
327
325
|
logErrors((async () => {
|
|
328
326
|
await SocketFunction.mountPromise;
|