aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-09 09:54:26 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-09 09:54:26 +0800
commit9c9165e930684b53d525d6bced6df1a76030253b (patch)
tree2733e14cfb64fe718aa031b819faec5220043e00
parent5bb84f6e21842b9ac860be48c0ddc322d654559b (diff)
downloadtangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar.gz
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar.bz2
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar.lz
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar.xz
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.tar.zst
tangerine-wallet-browser-9c9165e930684b53d525d6bced6df1a76030253b.zip
filter by network for pending txs
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 542881b8f..28130c164 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -47,8 +47,10 @@ module.exports = class TransactionController extends EventEmitter {
},
publishTransaction: this.txProviderUtil.publishTransaction.bind(this.txProviderUtil),
getPendingTransactions: () => {
+ const network = this.getNetwork()
return this.getFilteredTxList({
status: 'submitted',
+ metamaskNetworkId: network,
})
},
})