mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Do not forward to null tx explorer page
This commit is contained in:
parent
ff20543c59
commit
d71ee6927f
@ -63,6 +63,7 @@ module.exports = function(transactions, network) {
|
|||||||
key: `tx-${transaction.id + i}`,
|
key: `tx-${transaction.id + i}`,
|
||||||
identiconKey: transaction.txParams.to,
|
identiconKey: transaction.txParams.to,
|
||||||
onClick: (event) => {
|
onClick: (event) => {
|
||||||
|
if (!transaction.hash) return
|
||||||
var url = explorerLink(transaction.hash, parseInt(network))
|
var url = explorerLink(transaction.hash, parseInt(network))
|
||||||
chrome.tabs.create({ url })
|
chrome.tabs.create({ url })
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user