Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering authored and gruve-p committed May 24, 2020
1 parent 15627c7 commit 9a67ab4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bitcoin_validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function getChecksum(hashFunction, payload) {
case 'keccak256':
return cryptoUtils.keccak256Checksum(payload);
case 'groestl512x2':
console.log("Using " + hashFunction + " on " + payload);
return cryptoUtils.groestl512x2(payload);
case 'sha256':
default:
Expand Down Expand Up @@ -57,7 +56,6 @@ function getAddressType(address, currency) {
body = cryptoUtils.toHex(decoded.slice(0, length - 4)),
goodChecksum = getChecksum(hashFunction, body);

console.log("Found checksum = " + checksum);
return checksum === goodChecksum ? cryptoUtils.toHex(decoded.slice(0, expectedLength - 24)) : null;
}

Expand Down

0 comments on commit 9a67ab4

Please sign in to comment.