Skip to content

Commit

Permalink
GMiner compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
LPHuynh committed Feb 28, 2019
1 parent 408fa26 commit 359a045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pool.js
Expand Up @@ -611,7 +611,7 @@ function handleMinerMethod(method, params, ip, portData, sendReply, pushMessage,
job = miner.validJobs[miner.validJobs.length-1];

if (!job){
sendReply({code: -32503, message: "Invalid job id"}, null, 'submit');
sendReply(null,"stale", 'submit');
return;
}

Expand Down

0 comments on commit 359a045

Please sign in to comment.