Fix variable name in broadcast success message

This commit is contained in:
yottalogical 2019-02-06 15:43:23 -05:00
parent 2fc574dde0
commit cdf4aa105b
2 changed files with 2 additions and 2 deletions

View file

@ -1279,7 +1279,7 @@ $(document).ready(function() {
},
success: function(data) {
if((data.tx) && data.tx.hash){
$("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + data.data.txid + '<br> <a href="https://live.blockcypher.com/btc/tx/' + data.data.txid + '" target="_blank">View on Blockchain Explorer</a>');
$("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + data.tx.hash + '<br> <a href="https://live.blockcypher.com/btc/tx/' + data.tx.hash + '" target="_blank">View on Blockchain Explorer</a>');
} else {
$("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(' Unexpected error, please try again').prepend('<span class="glyphicon glyphicon-exclamation-sign"></span>');
}

View file

@ -2,7 +2,7 @@
77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js
3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js
253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js
23b664385edee9bed31096c5fa542dfa4c52c0c8 ./js/coinbin.js
a61ad2055a75482f0f7478647fd9a726adfecfb9 ./js/coinbin.js
d7e828cea4e9af4934cc500d022cb1b6ce12cbb0 ./js/coin.js
988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js
9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js