diff options
Diffstat (limited to 'ui/lib')
-rw-r--r-- | ui/lib/tx-helper.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js index afc62e7b6..ec19daf64 100644 --- a/ui/lib/tx-helper.js +++ b/ui/lib/tx-helper.js @@ -12,10 +12,6 @@ module.exports = function (unapprovedTxs, unapprovedMsgs, personalMsgs, network) const personalValues = valuesFor(personalMsgs) log.debug(`tx helper found ${personalValues.length} unsigned personal messages`) allValues = allValues.concat(personalValues) - allValues = allValues.sort((a, b) => { - return a.time > b.time - }) - return allValues + return allValues.sort(txMeta => txMeta.time) } - |