immrmonero/coin-imp

Attempting to mine on different pool throws error

Opened this issue · 0 comments

Attempting to run this:
const miner = await CoinImp('<YOUR-MONERO-ADDRESS>', { pool: { host: 'la01.supportxmr.com', port: 3333, pass: '<YOUR-PASSWORD-FOR-POOL>' // default 'x' if not provided } });

Getting error:
(node:2440) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'domain' of undefined at EventEmitter.init (events.js:63:15) at EventEmitter (events.js:28:21) at Proxy (F:\MoneroMining\node_modules\web-socket-proxy\build\Proxy.js:26:28) at getRunner (F:\MoneroMining\node_modules\coin-imp\src\index.js:10:19) at F:\MoneroMining\index.js:6:23 at Object.<anonymous> (F:\MoneroMining\index.js:25:3) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) (node:2440) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:2440) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code