Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit 090d62e

Browse files
committed
Sort creations list by objkt ID after removing burned objkts.
1 parent 92ea387 commit 090d62e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ const getTzLedger = async (tz, res) => {
224224
return arr
225225
}))
226226

227+
validCreations = validCreations.sort((a, b) => parseInt(b.objectId) - parseInt(a.objectId))
228+
227229
var arr = []
228230
console.log([...collection, ...validCreations])
229231
var arr = [...collection, ...validCreations]

0 commit comments

Comments
 (0)