diff --git a/app/models/Address.js b/app/models/Address.js index e054ff1..12a4a28 100644 --- a/app/models/Address.js +++ b/app/models/Address.js @@ -60,7 +60,7 @@ function spec() { // TODO TXout! //T function (cb) { - TransactionItem.find({addr:that.addrStr}).sort({ts:1}).exec(function(err,txItems){ + TransactionItem.find({addr:that.addrStr}).sort({ts:-1}).exec(function(err,txItems){ if (err) return cb(err); txItems.forEach(function(txItem){ diff --git a/public/views/address.html b/public/views/address.html index 2736b03..3063a0f 100644 --- a/public/views/address.html +++ b/public/views/address.html @@ -36,7 +36,7 @@