Minor code cleanup of _viewOnEtherscan (#12609)

feature/default_network_editable
David Walsh 3 years ago committed by GitHub
parent a6d0f379ad
commit 042bd84c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/scripts/platforms/extension.js

@ -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…
Cancel
Save