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) { _viewOnEtherscan(url) {
if (txId.startsWith('https://')) { if (url.startsWith('https://')) {
extension.tabs.create({ url: txId }); extension.tabs.create({ url });
} }
} }
} }

Loading…
Cancel
Save