Adding a sorter for timestamps on payments.

This commit is contained in:
Alexander Blair 2017-02-13 20:14:02 -08:00
parent 5c08412a9a
commit 91fe9ffae1

View file

@ -266,7 +266,7 @@ app.get('/miner/:address/payments', function (req, res) {
mixin: txnrow.mixin
});
if (array.length === response.length) {
return res.json(response);
return res.json(response.sort(global.support.tsCompare));
}
});
});