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:
OutCast3k 2016-12-28 10:01:16 +00:00 committed by GitHub
parent 60efbb5174
commit 605a6df343

View file

@ -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));