aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-05-05 02:11:37 +0800
committerkumavis <kumavis@users.noreply.github.com>2016-05-05 02:11:37 +0800
commit95582f8bde3abda5b6b7cf0e027bc7913e5953ce (patch)
tree6409dd6ea4aee0f58e243959568a4dca3fd0e63d /ui/lib
parentdcbf17af2d547ce676178bf78328d5c01135e31a (diff)
parent9c6ec054b13f24e88b78ca4124b0d3a46234b1d7 (diff)
downloadtangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar.gz
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar.bz2
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar.lz
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar.xz
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.tar.zst
tangerine-wallet-browser-95582f8bde3abda5b6b7cf0e027bc7913e5953ce.zip
Merge pull request #169 from MetaMask/ImplementEthSign
implement eth_sign
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/tx-helper.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js
new file mode 100644
index 000000000..49845b01a
--- /dev/null
+++ b/ui/lib/tx-helper.js
@@ -0,0 +1,8 @@
+const valuesFor = require('../app/util').valuesFor
+
+module.exports = function(unconfTxs, unconfMsgs) {
+ var txValues = valuesFor(unconfTxs)
+ var msgValues = valuesFor(unconfMsgs)
+ var allValues = txValues.concat(msgValues)
+ return allValues.sort(tx => tx.time)
+}