mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-01 11:43:58 +01: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
|
mixin: txnrow.mixin
|
||||||
});
|
});
|
||||||
if (array.length === response.length) {
|
if (array.length === response.length) {
|
||||||
return res.json(response);
|
return res.json(response.sort(global.support.tsCompare));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user