forked from Qortal/qortal
Sort hosted data in reverse order (newest first)
This commit is contained in:
parent
13450d5afa
commit
fcdcc939e6
@ -292,6 +292,9 @@ public class ArbitraryDataStorageManager extends Thread {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sort by newest first
|
||||||
|
arbitraryTransactionDataList.sort(Comparator.comparingLong(ArbitraryTransactionData::getTimestamp).reversed());
|
||||||
|
|
||||||
// Update cache
|
// Update cache
|
||||||
this.hostedTransactions = arbitraryTransactionDataList;
|
this.hostedTransactions = arbitraryTransactionDataList;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user