List newest transactions first

This commit is contained in:
Sonata Green 2016-08-24 00:08:58 -05:00
parent fb265520f3
commit f0c93ce150

View file

@ -146,7 +146,7 @@ var WalletPage = React.createClass({
}
condensedTransactions[txid] += parseFloat(tx["amount"]);
});
results.forEach(function(tx) {
results.reverse().forEach(function(tx) {
var txid = tx["txid"];
var txval = condensedTransactions[txid];
var txdate = new Date(parseInt(tx["time"])*1000);