aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/index.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-03-29 05:48:03 +0800
committerGitHub <noreply@github.com>2017-03-29 05:48:03 +0800
commit0f1ea5861f10193ab958fea6ba10a5e2aed4c839 (patch)
tree35755083efcb9bedad73bdcd340432c298866125 /ui/app/accounts/index.js
parent731f6654094fb6cac832d4092471c51b554a34d4 (diff)
parent5d38792910147dfcc00028a2f8b262a47cab295f (diff)
downloadtangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar.gz
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar.bz2
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar.lz
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar.xz
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.tar.zst
tangerine-wallet-browser-0f1ea5861f10193ab958fea6ba10a5e2aed4c839.zip
Merge pull request #1276 from MetaMask/ImproveGasEstimates
Improve UI gas calculation logic
Diffstat (limited to 'ui/app/accounts/index.js')
-rw-r--r--ui/app/accounts/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js
index e236a4e85..ae69d9297 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(txMeta => txMeta.metamaskNetworkId === state.metamask.network)
const pendingMsgs = valuesFor(state.metamask.unapprovedMsgs)
const pending = pendingTxs.concat(pendingMsgs)