|
|
@ -592,8 +592,9 @@ function hasPendingTxs (state) { |
|
|
|
function indexForPending (state, txId) { |
|
|
|
function indexForPending (state, txId) { |
|
|
|
var unapprovedTxs = state.metamask.unapprovedTxs |
|
|
|
var unapprovedTxs = state.metamask.unapprovedTxs |
|
|
|
var unapprovedMsgs = state.metamask.unapprovedMsgs |
|
|
|
var unapprovedMsgs = state.metamask.unapprovedMsgs |
|
|
|
|
|
|
|
var unapprovedPersonalMsgs = state.metamask.unapprovedPersonalMsgs |
|
|
|
var network = state.metamask.network |
|
|
|
var network = state.metamask.network |
|
|
|
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, network) |
|
|
|
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network) |
|
|
|
let idx |
|
|
|
let idx |
|
|
|
unconfTxList.forEach((tx, i) => { |
|
|
|
unconfTxList.forEach((tx, i) => { |
|
|
|
if (tx.id === txId) { |
|
|
|
if (tx.id === txId) { |
|
|
|