node-stratum icon indicating copy to clipboard operation
node-stratum copied to clipboard

Unhandled rejection Error: -24,Unauthorized worker,

Open iwantpizza10 opened this issue 2 years ago • 0 comments

Unhandled rejection Error: -24,Unauthorized worker, how do i fix it im using everything default copy and pasted except for this

client.connect(3333, 'localhost').then(function(socket){
    socket.stratumSubscribe('NodeMiner');
    socket.stratumAuthorize('user','password');
    socket.stratumSubmit('user', 'job_id', 'extranonce2', 'ntime', 'nonce');
    //socket.stratumSend(data, true); //send a stratum command other than the previous ones
    //socket.send(data); // send raw data through the socket
});

iwantpizza10 avatar May 01 '22 18:05 iwantpizza10