Skip to content

Commit

Permalink
πŸ› Fix block explorer URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Sep 6, 2024
1 parent a2db163 commit cd11068
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/services/block-explorer/block-explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export class BlockExplorer {
* @param address The Cosmos address
*/
getAccountURL(address: string) {
return `${this.accountBaseURL}/account/${address}`
return `${this.accountBaseURL}/${address}`
}

getValidatorURL(address: string) {
return `${this.validatorBaseURL}/staking/${address}`
return `${this.validatorBaseURL}/${address}`
}

getTransactionURL(hash: string) {
if (!hash) return ""
return `${this.transactionBaseURL}/tx/${hash}`
return `${this.transactionBaseURL}/${hash}`
}
}

0 comments on commit cd11068

Please sign in to comment.