Use blockchain.info as lock explorer for mainnet
This commit is contained in:
parent
c2faad5846
commit
983644327f
1 changed files with 4 additions and 1 deletions
|
|
@ -161,7 +161,10 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
||||||
|
|
||||||
$scope.viewOnBlockchain = function() {
|
$scope.viewOnBlockchain = function() {
|
||||||
var btx = $scope.btx;
|
var btx = $scope.btx;
|
||||||
var url = 'https://' + ($scope.getShortNetworkName() == 'test' ? 'test-' : '') + 'insight.bitpay.com/tx/' + btx.txid;
|
var url = 'https://blockchain.info/tx/' + btx.txid;
|
||||||
|
if ($scope.getShortNetworkName() == 'test') {
|
||||||
|
url = "https://test-insight.bitpay.com/tx/" + btx.txid;
|
||||||
|
}
|
||||||
var optIn = true;
|
var optIn = true;
|
||||||
var title = null;
|
var title = null;
|
||||||
var message = gettextCatalog.getString('View Transaction on Insight');
|
var message = gettextCatalog.getString('View Transaction on Insight');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue