List transactions newest first on both chains
This commit is contained in:
@@ -92,7 +92,8 @@ final class XRPWalletService {
|
||||
ledgerIndex: (entry["ledger_index"] as? NSNumber)?.uint64Value,
|
||||
sequence: (tx["Sequence"] as? NSNumber)?.uint64Value))
|
||||
}
|
||||
return records
|
||||
// Newest first, matching the Monero list.
|
||||
return records.sorted { ($0.timestamp ?? .distantFuture) > ($1.timestamp ?? .distantFuture) }
|
||||
}
|
||||
|
||||
// MARK: - Sends
|
||||
|
||||
Reference in New Issue
Block a user