standardizes channelClaimsArray order

This commit is contained in:
jessop 2018-11-27 18:11:41 -05:00
parent 20b40e1332
commit bf66d9f5f5
2 changed files with 2 additions and 2 deletions

View file

@ -904,7 +904,7 @@ var claimQueries = (db, table, sequelize) => ({
};
return await table.findAll({
where: selectWhere,
order: [['height', 'DESC']],
order: [['height', 'DESC'],['claim_id', 'ASC']],
})
.then(channelClaimsArray => {
if (channelClaimsArray.length === 0) {

View file

@ -103,7 +103,7 @@ export default (db, table, sequelize) => ({
};
return await table.findAll({
where: selectWhere,
order: [['height', 'DESC']],
order: [['height', 'DESC'],['claim_id', 'ASC']],
})
.then(channelClaimsArray => {
if (channelClaimsArray.length === 0) {