From 170dee278688a30157b766749de2eb38619e4dc2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 22 Oct 2016 18:06:30 -0700 Subject: Use blockchain.info as explorer --- public/js/calculator.coffee | 2 +- public/js/calculator.js | 2 +- public/js/wallet.coffee | 2 +- public/js/wallet.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index 2ed31980..fccc0c5e 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -235,7 +235,7 @@ getAddress = -> g.blockchain.close() if g.blockchain listen() - $('#address').html("#{g.user.address}") + $('#address').html("#{g.user.address}") fail = (msg) -> g.errors.push(msg) diff --git a/public/js/calculator.js b/public/js/calculator.js index a1b22757..ab2123ca 100644 --- a/public/js/calculator.js +++ b/public/js/calculator.js @@ -247,7 +247,7 @@ } listen(); } - return $('#address').html("" + g.user.address + ""); + return $('#address').html("" + g.user.address + ""); }; fail = function(msg) { diff --git a/public/js/wallet.coffee b/public/js/wallet.coffee index 3158c99d..bb322875 100644 --- a/public/js/wallet.coffee +++ b/public/js/wallet.coffee @@ -384,7 +384,7 @@ sendTransaction = -> fiat = balance.toFiat() $('#balance').html(g.balance) $('#fiat').html("#{fiat} #{g.user.currency}") - $('#blockchain').off('click').on('click', -> window.open('https://tradeblock.com/bitcoin/tx/' + finaltx.tx.hash, '_blank')) + $('#blockchain').off('click').on('click', -> window.open('https://blockchain.info/tx/' + finaltx.tx.hash, '_blank')) dialog.close() ) ) diff --git a/public/js/wallet.js b/public/js/wallet.js index c9bb846f..012b0f9d 100644 --- a/public/js/wallet.js +++ b/public/js/wallet.js @@ -460,7 +460,7 @@ $('#balance').html(g.balance); $('#fiat').html("" + fiat + " " + g.user.currency); $('#blockchain').off('click').on('click', function() { - return window.open('https://tradeblock.com/bitcoin/tx/' + finaltx.tx.hash, '_blank'); + return window.open('https://blockchain.info/tx/' + finaltx.tx.hash, '_blank'); }); return dialog.close(); }); @@ -558,4 +558,4 @@ })() },{}]},{},[1]) -; \ No newline at end of file +; -- cgit v1.2.3