aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib/tx-helper.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-01-28 08:11:59 +0800
committerFrankie <frankie.diamond@gmail.com>2017-01-29 12:28:20 +0800
commit8be68575bbef1dcc89b51355abaee90dbf018387 (patch)
treec8da5e217b838bff46bcc9ddfb8300133022ca91 /ui/lib/tx-helper.js
parenta8ed780d9b3659474c59c7856ab2ee1430c17b42 (diff)
downloadtangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.gz
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.bz2
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.lz
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.xz
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.zst
tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.zip
Clean up message manger includes:
Provider egine bump Remove presence of message manger in keyring controller Change the status wording fom conf to approved make Message manager a class fix messages not being apart of the badge re write message manger to better reflect controller pattern
Diffstat (limited to 'ui/lib/tx-helper.js')
-rw-r--r--ui/lib/tx-helper.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js
index c984bc9af..fa7a94cdc 100644
--- a/ui/lib/tx-helper.js
+++ b/ui/lib/tx-helper.js
@@ -1,8 +1,8 @@
const valuesFor = require('../app/util').valuesFor
-module.exports = function (unconfTxs, unconfMsgs, network) {
- var txValues = network ? valuesFor(unconfTxs).filter(tx => tx.txParams.metamaskNetworkId === network) : valuesFor(unconfTxs)
- var msgValues = valuesFor(unconfMsgs)
+module.exports = function (unapprovedTxs, unapprovedMsgs, network) {
+ var txValues = network ? valuesFor(unapprovedTxs).filter(tx => tx.txParams.metamaskNetworkId === network) : valuesFor(unapprovedTxs)
+ var msgValues = valuesFor(unapprovedMsgs)
var allValues = txValues.concat(msgValues)
return allValues.sort(tx => tx.time)
}