Fix etherscan links (#1497)
This commit is contained in:
parent
9ca9007105
commit
c6d54b3eb5
|
@ -157,7 +157,7 @@ export const getExplorerInfo = (hash: string): BlockScanInfo => {
|
||||||
default: {
|
default: {
|
||||||
const type = hash.length > 42 ? 'tx' : 'address'
|
const type = hash.length > 42 ? 'tx' : 'address'
|
||||||
return () => ({
|
return () => ({
|
||||||
url: `${url}${type}/${hash}`,
|
url: `${url}/${type}/${hash}`,
|
||||||
alt: name || '',
|
alt: name || '',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue