diff --git a/app/components/candidates/View.vue b/app/components/candidates/View.vue index 9bb3ebb2..450b4698 100644 --- a/app/components/candidates/View.vue +++ b/app/components/candidates/View.vue @@ -414,7 +414,7 @@ slot-scope="data"> diff --git a/app/components/voters/Confirm.vue b/app/components/voters/Confirm.vue index 0e80ffb0..ddeb6e6d 100644 --- a/app/components/voters/Confirm.vue +++ b/app/components/voters/Confirm.vue @@ -84,13 +84,13 @@ export default { self.title = 'Success' self.event = transaction.event === 'Vote' ? 'voted' : 'unvoted' self.candidate = transaction.candidate - self.txUrl = urljoin(self.config.explorerUrl, `/txs/${self.tx}`) + self.txUrl = urljoin(self.config.explorerUrl, `/tx/${self.tx}`) // self.description = `You have ${event} // ${amount} TOMO for candidate // ${transaction.candidate} // successfully. //

- // Transaction Hash:
${self.tx}` self.buttonText = 'View all Candidates' } else { diff --git a/app/components/voters/View.vue b/app/components/voters/View.vue index 0653b055..e14281cf 100644 --- a/app/components/voters/View.vue +++ b/app/components/voters/View.vue @@ -247,7 +247,7 @@ slot-scope="data"> diff --git a/config/mainnet.json b/config/mainnet.json index 64d90cf9..35aac282 100644 --- a/config/mainnet.json +++ b/config/mainnet.json @@ -9,7 +9,7 @@ "internalWs": "", "networkId": 88 }, - "explorerUrl": "https://scan.tomochain.com", + "explorerUrl": "https://tomoscan.io", "tomoscanUrl": "http://tomoscan_server:3333", "baseUrl": "https://master.tomochain.com/", "db": { diff --git a/helpers/twitter.js b/helpers/twitter.js index 2ceb43c4..c226920c 100644 --- a/helpers/twitter.js +++ b/helpers/twitter.js @@ -30,7 +30,7 @@ const TwitterHelper = { const msg = owner.substr(0, 8) + ' has proposed a new candidate ' + candidate.substr(0, 8) + '\nCapacity: ' + amount + ' $TOMO' + '\nTomoMaster: https://master.tomochain.com/candidate/' + candidate + - '\nTransaction: https://scan.tomochain.com/txs/' + txHash + '\nTransaction: https://tomoscan.io/tx/' + txHash twitter.post('statuses/update', { status: msg }, function (error, tweet, response) {