Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Mar 5, 2020
1 parent f5d0971 commit 94ffe6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_astrobwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
let multiHashing = require('../build/Release/cryptonight-hashing');

let result = multiHashing.astrobwt(Buffer.from('0305a0dbd6bf05cf16e503f3a66f78007cbf34144332ecbfc22ed95c8700383b309ace1923a0964b00000008ba939a62724c0d7581fce5761e9d8a0e6a1c3f924fdd8493d1115649c05eb601', 'hex'), 0).toString('hex');
if (result == '3c1f6d871c8571ae74cce3c6ff7d11ed7f5848c19a26d9c5972869cfabc449a8')
if (result == '7e8844f2d6b7a43498fe6d226527689023da8a52f9fc4ec69e5aaaa63edce1c1')
console.log('AstroBWT (DERO) test passed');
else
console.log('AstroBWT (DERO) test passed: ' + result);
console.log('AstroBWT (DERO) test failed: ' + result);





Expand Down

0 comments on commit 94ffe6a

Please sign in to comment.