Update pool.js
change required from turtlecoin-multi-hashing to turtleoin-crypto
This commit is contained in:
@@ -19,7 +19,7 @@ let utils = require('./utils.js');
|
|||||||
config.hashingUtil = config.hashingUtil || false;
|
config.hashingUtil = config.hashingUtil || false;
|
||||||
let cnHashing = require('cryptonight-hashing');
|
let cnHashing = require('cryptonight-hashing');
|
||||||
if (config.hashingUtil) {
|
if (config.hashingUtil) {
|
||||||
cnHashing = require('turtlecoin-multi-hashing');
|
cnHashing = require('turtlecoin-crypto');
|
||||||
}
|
}
|
||||||
// Set nonce pattern - must exactly be 8 hex chars
|
// Set nonce pattern - must exactly be 8 hex chars
|
||||||
let noncePattern = new RegExp("^[0-9A-Fa-f]{8}$");
|
let noncePattern = new RegExp("^[0-9A-Fa-f]{8}$");
|
||||||
|
|||||||
Reference in New Issue
Block a user