mirror of
https://github.com/OutCast3k/coinbin.git
synced 2025-03-10 19:49:04 +01:00
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
60efbb5174
commit
605a6df343
@ -1417,7 +1417,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decodeHDaddress(){
|
function decodeHDaddress(){
|
||||||
coinjs.compressed = false;
|
coinjs.compressed = true;
|
||||||
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…
x
Reference in New Issue
Block a user