Skip to content

Commit

Permalink
Fix BIP Decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
FF899F committed Jan 11, 2018
1 parent 22635b5 commit 40862e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/scripts.js
Expand Up @@ -176,7 +176,7 @@
console.log('decrypting', Math.round(status.percent), '%');
});

var decodedDecrypted = wif.encode(150, decryptedKey.privateKey, decryptedKey.compressed);
var decodedDecrypted = wif.encode(212, decryptedKey.privateKey, decryptedKey.compressed);

var key = CoinKey.fromWif(decodedDecrypted, version);

Expand Down
2 changes: 1 addition & 1 deletion js/source.js
Expand Up @@ -152,7 +152,7 @@ function decrypt() {
console.log('decrypting', Math.round(status.percent), '%');
});

var decodedDecrypted = wif.encode(150, decryptedKey.privateKey, decryptedKey.compressed);
var decodedDecrypted = wif.encode(212, decryptedKey.privateKey, decryptedKey.compressed);

var key = CoinKey.fromWif(decodedDecrypted, version);

Expand Down

0 comments on commit 40862e4

Please sign in to comment.