CounterpartyXCP / counterwallet

Counterparty web wallet
https://counterwallet.io
147 stars 162 forks source link

Blockexplorer link fails DNS lookup #773

Closed x-ETHeREAL-x closed 8 years ago

x-ETHeREAL-x commented 8 years ago

Hey guys in counterwallet/src/js/consts.js

you have this at line 239:

var BLOCKEXPLORER_URL = USE_TESTNET ? "http://test.bitcore.io" : "http://live.bitcore.io";

Those subdomains fail. I would suggest:

var BLOCKEXPLORER_URL = USE_TESTNET ? "http://testnet.blockscan.com/" : "https://blockscan.com/";

Then: counterwallet/src/js/util.js Line 224 should be:

var url = BLOCKEXPLORER_URL + 'tx?block=' + blockIndex;

unsystemizer commented 8 years ago

Do you mind to submit a pull request against source in develop branch?

x-ETHeREAL-x commented 8 years ago

Sure, i can do it this weekend.

On Fri, Feb 12, 2016 at 1:47 PM, unsystemizer notifications@github.com wrote:

Do you mind to submit a pull request against source in develop branch?

— Reply to this email directly or view it on GitHub https://github.com/CounterpartyXCP/counterwallet/issues/773#issuecomment-183500421 .

robby-d commented 8 years ago

Change to use counterpartychain, as blockscan has no testnet explorer