mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Minor code cleanup of _viewOnEtherscan (#12609)
This commit is contained in:
parent
a6d0f379ad
commit
042bd84c87
@ -262,9 +262,9 @@ export default class ExtensionPlatform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_viewOnEtherscan(txId) {
|
_viewOnEtherscan(url) {
|
||||||
if (txId.startsWith('https://')) {
|
if (url.startsWith('https://')) {
|
||||||
extension.tabs.create({ url: txId });
|
extension.tabs.create({ url });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user