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) {
|
||||
if (txId.startsWith('https://')) {
|
||||
extension.tabs.create({ url: txId });
|
||||
_viewOnEtherscan(url) {
|
||||
if (url.startsWith('https://')) {
|
||||
extension.tabs.create({ url });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user