diff --git a/lib/modules/blockchain_process/proxy.js b/lib/modules/blockchain_process/proxy.js index f310990c..ea81f143 100644 --- a/lib/modules/blockchain_process/proxy.js +++ b/lib/modules/blockchain_process/proxy.js @@ -69,7 +69,7 @@ exports.serve = async function (ipc, host, port, ws, origin) { const start = Date.now(); function awaitTarget() { - return new Promise((resolve, reject) => { + return new Promise(resolve => { utils.pingEndpoint( canonicalHost(host), port, ws ? 'ws': false, 'http', _origin, async (err) => { if (!err || (Date.now() - start > 10000)) {