updated coinbin.js
Fixed a bug, which was reported on https://www.reddit.com/r/Bitcoin/comments/5kowvt/psa_coinbin_appears_to_be_trying_to_steal_coins/ that appears to have caused incorrect HD key pairs to be generated in certain situations, because 'coinjs.compressed = true;' was not always being set when the user entered a HD onto the #verify tab.
This commit is contained in:
parent
24028a001d
commit
1b111b335d
1 changed files with 1 additions and 0 deletions
|
@ -1417,6 +1417,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function decodeHDaddress(){
|
function decodeHDaddress(){
|
||||||
|
coinjs.compressed = false;
|
||||||
var s = $("#verifyScript").val();
|
var s = $("#verifyScript").val();
|
||||||
try {
|
try {
|
||||||
var hex = Crypto.util.bytesToHex((coinjs.base58decode(s)).slice(0,4));
|
var hex = Crypto.util.bytesToHex((coinjs.base58decode(s)).slice(0,4));
|
||||||
|
|
Loading…
Reference in a new issue