mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Add personalMessages to function to calculate pending tx index.
This commit is contained in:
parent
5cc934f18c
commit
5cd917b0e9
@ -592,8 +592,9 @@ function hasPendingTxs (state) {
|
||||
function indexForPending (state, txId) {
|
||||
var unapprovedTxs = state.metamask.unapprovedTxs
|
||||
var unapprovedMsgs = state.metamask.unapprovedMsgs
|
||||
var unapprovedPersonalMsgs = state.metamask.unapprovedPersonalMsgs
|
||||
var network = state.metamask.network
|
||||
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, network)
|
||||
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network)
|
||||
let idx
|
||||
unconfTxList.forEach((tx, i) => {
|
||||
if (tx.id === txId) {
|
||||
|
Loading…
Reference in New Issue
Block a user