Skip to content

Commit

Permalink
Fixed XAO/RTO indexes to mathc them to xmrig
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Sep 12, 2018
1 parent bccca15 commit aeee784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_sync-rto.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let lr = lineReader.createInterface({
});
lr.on('line', function (line) {
let line_data = line.split(/ (.+)/);
let result = multiHashing.cryptonight(Buffer.from(line_data[1], 'hex'), 6).toString('hex');
let result = multiHashing.cryptonight(Buffer.from(line_data[1], 'hex'), 7).toString('hex');
if (line_data[0] !== result){
console.error(line_data[1] + ": " + result);
testsFailed += 1;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sync-xao.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let lr = lineReader.createInterface({
});
lr.on('line', function (line) {
let line_data = line.split(/ (.+)/);
let result = multiHashing.cryptonight(Buffer.from(line_data[1], 'hex'), 5).toString('hex');
let result = multiHashing.cryptonight(Buffer.from(line_data[1], 'hex'), 6).toString('hex');
if (line_data[0] !== result){
console.error(line_data[1] + ": " + result);
testsFailed += 1;
Expand Down

0 comments on commit aeee784

Please sign in to comment.