Update pool.js

change required from turtlecoin-multi-hashing to turtleoin-crypto
This commit is contained in:
frandlyn26
2022-01-12 08:17:34 -06:00
committed by GitHub
parent 462ca1e55d
commit 79518b7d3a

View File

@@ -19,7 +19,7 @@ let utils = require('./utils.js');
config.hashingUtil = config.hashingUtil || false;
let cnHashing = require('cryptonight-hashing');
if (config.hashingUtil) {
cnHashing = require('turtlecoin-multi-hashing');
cnHashing = require('turtlecoin-crypto');
}
// Set nonce pattern - must exactly be 8 hex chars
let noncePattern = new RegExp("^[0-9A-Fa-f]{8}$");