diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-03-29 05:23:01 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-03-29 05:23:01 +0800 |
commit | 0d20b548544c284fb6338dc55cf0c864f3a08b14 (patch) | |
tree | 90641eb36adf2f32f0a1bf11efab142d96804926 | |
parent | e864623d3cfc70ff10ef1b84d5853dc7aa50fa36 (diff) | |
download | tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar.gz tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar.bz2 tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar.lz tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar.xz tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.tar.zst tangerine-wallet-browser-0d20b548544c284fb6338dc55cf0c864f3a08b14.zip |
Detect tx network from txMeta
-rw-r--r-- | ui/lib/tx-helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js index 2eefdff68..6c549dbe3 100644 --- a/ui/lib/tx-helper.js +++ b/ui/lib/tx-helper.js @@ -4,7 +4,7 @@ module.exports = function (unapprovedTxs, unapprovedMsgs, personalMsgs, network) log.debug('tx-helper called with params:') log.debug({ unapprovedTxs, unapprovedMsgs, personalMsgs, network }) - const txValues = network ? valuesFor(unapprovedTxs).filter(tx => tx.txParams.metamaskNetworkId === network) : valuesFor(unapprovedTxs) + const txValues = network ? valuesFor(unapprovedTxs).filter(tx => tx.metamaskNetworkId === network) : valuesFor(unapprovedTxs) log.debug(`tx helper found ${txValues.length} unapproved txs`) const msgValues = valuesFor(unapprovedMsgs) log.debug(`tx helper found ${msgValues.length} unsigned messages`) |