mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Adding a sorter for timestamps on payments.
This commit is contained in:
+1
-1
@@ -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));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user