scrypt-jane POS coins don't use sha256d for block hash.
This commit is contained in:
parent
7aa918ef95
commit
a7896d593b
@ -94,6 +94,11 @@ var JobManager = module.exports = function JobManager(options){
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
case 'scrypt-jane':
|
case 'scrypt-jane':
|
||||||
|
if (options.coin.reward === 'POS') {
|
||||||
|
return function (d) {
|
||||||
|
return util.reverseBuffer(hashDigest.apply(this, arguments));
|
||||||
|
};
|
||||||
|
}
|
||||||
case 'scrypt-n':
|
case 'scrypt-n':
|
||||||
return function (d) {
|
return function (d) {
|
||||||
return util.reverseBuffer(util.sha256d(d));
|
return util.reverseBuffer(util.sha256d(d));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user