Adding a sorter for timestamps on payments.
This commit is contained in:
parent
5c08412a9a
commit
91fe9ffae1
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue