diff --git a/js/coinbin.js b/js/coinbin.js index f9c67a6..299e139 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1806,6 +1806,14 @@ $(document).ready(function() { configureBroadcast(); configureGetUnspentTx(); + if (coinjs.pub == 0x30){ // LTC + explorer_addr = "https://chain.so/address/LTC/"; + coinjs.bech32.hrp = "ltc"; + } + else if (coinjs.pub == 0x1e){ // DOGE + explorer_addr = "https://chain.so/address/DOGE/"; + } + $("#statusSettings").addClass("alert-success").removeClass("hidden").html(" Settings updates successfully").fadeOut().fadeIn(); } else { $("#statusSettings").addClass("alert-danger").removeClass("hidden").html("There is an error with one or more of your settings");