Add link to blockchain explorer for Blockcypher.com
This commit is contained in:
parent
5c581316fe
commit
2aca9ab28d
1 changed files with 1 additions and 1 deletions
|
@ -1281,7 +1281,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.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>');
|
||||
} else {
|
||||
$("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(' Unexpected error, please try again').prepend('<span class="glyphicon glyphicon-exclamation-sign"></span>');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue