diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-03-29 05:24:05 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-03-29 05:24:05 +0800 |
commit | 8681e2540e77162827a941160fb048251e728398 (patch) | |
tree | 9666cff03fe08a421c6a1a3afe772baedc188dda | |
parent | 0d20b548544c284fb6338dc55cf0c864f3a08b14 (diff) | |
download | tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar.gz tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar.bz2 tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar.lz tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar.xz tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.tar.zst tangerine-wallet-browser-8681e2540e77162827a941160fb048251e728398.zip |
Filter txs by txMeta network value in account detail
-rw-r--r-- | ui/app/accounts/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js index e236a4e85..d911ff04c 100644 --- a/ui/app/accounts/index.js +++ b/ui/app/accounts/index.js @@ -11,7 +11,7 @@ module.exports = connect(mapStateToProps)(AccountsScreen) function mapStateToProps (state) { const pendingTxs = valuesFor(state.metamask.unapprovedTxs) - .filter(tx => tx.txParams.metamaskNetworkId === state.metamask.network) + .filter(tx => tx.metamaskNetworkId === state.metamask.network) const pendingMsgs = valuesFor(state.metamask.unapprovedMsgs) const pending = pendingTxs.concat(pendingMsgs) |