From 6a12b7fb71f86beb6193ab9d8e9162dc92f66808 Mon Sep 17 00:00:00 2001 From: joshuayabut Date: Sun, 20 Nov 2016 01:31:21 -0500 Subject: [PATCH] Disable authentication in order to support Claymore miner taxation --- lib/stratum.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/stratum.js b/lib/stratum.js index 4e3edc1..5ecc14f 100644 --- a/lib/stratum.js +++ b/lib/stratum.js @@ -167,12 +167,13 @@ var StratumClient = function(options){ soln : message.params[4], nonce : _this.extraNonce1 + message.params[3] }, + // lie to Claymore miner due to unauthorized devfee submissions function(error, result){ if (!considerBan(result)){ sendJson({ id: message.id, - result: result, - error: error + result: true, + error: null }); } }