diff --git a/README.md b/README.md index 69bf32d..66a7b26 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,14 @@ Clearnet versions: - [http://monerochain.com/](http://monerochain.com/) - JSON API based, multiple nodes. - [https://blox.minexmr.com/](https://blox.minexmr.com/) - - https enabled. -Clearnet testnet Monero version: +Testnet Monero version: - [http://nimis.serveo.net/](http://nimis.serveo.net/) - bleeding edge version (down currently). - [https://testnet.xmrchain.com/](https://testnet.xmrchain.com/) - https enabled. - [https://explorer.monero-otc.com/](https://explorer.monero-otc.com/) - https enabled. -Clearnet stagenet Monero version: +Stagenet Monero version: - [http://162.210.173.150:8083/](http://162.210.173.150:8083/) - recent version. diff --git a/src/templates/partials/tx_details.html b/src/templates/partials/tx_details.html index 70b5583..00a405c 100644 --- a/src/templates/partials/tx_details.html +++ b/src/templates/partials/tx_details.html @@ -184,8 +184,8 @@ $("#decode_btn").click(function() { - var address = $("input[name=xmr_address]").val(); - var viewkey = $("input[name=viewkey]").val(); + var address = $("input[name=xmr_address]").val().trim(); + var viewkey = $("input[name=viewkey]").val().trim(); if (!address || !viewkey) { $("#decode-prove-results").html("

Address or viewkey key not provided!

"); @@ -209,8 +209,8 @@ $("#prove_btn").click(function() { - var address = $("input[name=xmraddress]").val(); - var tx_prv_key = $("input[name=txprvkey]").val(); + var address = $("input[name=xmraddress]").val().trim(); + var tx_prv_key = $("input[name=txprvkey]").val().trim(); if (!address || !tx_prv_key) { $("#decode-prove-results").html("

Address or tx private key not provided!

"); @@ -325,7 +325,7 @@ mine_output_str = 'true'; - if (is_rct) { + if (is_rct && rct_type > 0 /* not coinbase*/) { try { //var ecdh = decodeRct(tx_json.rct_signatures, output_idx, key_derivation); var ecdh = decodeRct(tx_json.rct_signatures, output_idx,