scrypt-jane POS coins don't use sha256d for block hash.

This commit is contained in:
Matt 2014-04-21 14:54:42 -06:00
parent 7aa918ef95
commit a7896d593b

View File

@ -94,6 +94,11 @@ var JobManager = module.exports = function JobManager(options){
};
}
case 'scrypt-jane':
if (options.coin.reward === 'POS') {
return function (d) {
return util.reverseBuffer(hashDigest.apply(this, arguments));
};
}
case 'scrypt-n':
return function (d) {
return util.reverseBuffer(util.sha256d(d));