aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/calculator.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/calculator.js')
-rw-r--r--public/js/calculator.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/js/calculator.js b/public/js/calculator.js
index 840d389b..4d0491cf 100644
--- a/public/js/calculator.js
+++ b/public/js/calculator.js
@@ -181,7 +181,7 @@
};
getAddress = function() {
- var child, master, s;
+ var child, master;
try {
bitcoin.address.fromBase58Check(g.user.pubkey);
g.user.address = g.user.pubkey;
@@ -198,8 +198,7 @@
fail(ADDRESS_FAIL);
}
}
- s = "<a href='/" + g.user.username + "/report'>" + g.user.address + "</a> \n<a href='http://blockchain.info/address/" + g.user.address + "' target='_blank'>\n <img src='/img/blockchain.png' />\n</a>";
- return $('#address').html(s);
+ return $('#address').html("<a href='https://tradeblock.com/bitcoin/address/" + g.user.address + "'>" + g.user.address + "</a>");
};
fail = function(msg) {