From af52fe30c54f91c943a90cb2ea4fe1999ce98646 Mon Sep 17 00:00:00 2001 From: Christopher Franko Date: Fri, 14 Nov 2014 11:52:43 -0500 Subject: [PATCH] patch-2 scrypt-og this fixes the problem with blocks not submitting correctly to the daemon for aidencoin. --- lib/jobManager.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/jobManager.js b/lib/jobManager.js index 0c5103a..cbcfc48 100644 --- a/lib/jobManager.js +++ b/lib/jobManager.js @@ -90,6 +90,12 @@ var JobManager = module.exports = function JobManager(options){ return util.reverseBuffer(hashDigest.apply(this, arguments)); }; } + case 'scrypt-og': + if (options.coin.reward === 'POS') { + return function (d) { + return util.reverseBuffer(hashDigest.apply(this, arguments)); + }; + } case 'scrypt-jane': if (options.coin.reward === 'POS') { return function (d) {