diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-25 04:39:55 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-25 04:39:55 +0800 |
commit | 5cd917b0e94d770e416eb2ec67013c7404ab2fbc (patch) | |
tree | 6c832c5fd2c044ef303e678f8f097b3b0b7ba066 /ui/app/reducers | |
parent | 5cc934f18ccb64d97f6046ecb1adee5860b3b3fa (diff) | |
download | tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar.gz tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar.bz2 tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar.lz tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar.xz tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.tar.zst tangerine-wallet-browser-5cd917b0e94d770e416eb2ec67013c7404ab2fbc.zip |
Add personalMessages to function to calculate pending tx index.
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index b9e3f7b16..3a6baca91 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -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) { |