From 605a6df3431e07903f8fd43f6536057251089d96 Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Wed, 28 Dec 2016 10:01:16 +0000 Subject: [PATCH] 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. --- js/coinbin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/coinbin.js b/js/coinbin.js index 0a05d21..cf4a273 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1417,7 +1417,7 @@ $(document).ready(function() { } function decodeHDaddress(){ - coinjs.compressed = false; + coinjs.compressed = true; var s = $("#verifyScript").val(); try { var hex = Crypto.util.bytesToHex((coinjs.base58decode(s)).slice(0,4));