Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Sep 25, 2024
1 parent 2de3ff6 commit beea575
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ object VaultCalculator {
val sortedPnl = historicalPnl.sortedByDescending { it.createdAt }
val latestEntry = sortedPnl.first()
val latestTime = parser.asDatetime(latestEntry.createdAt)?.toEpochMilliseconds() ?: Clock.System.now().toEpochMilliseconds()
parser.asLong(latestEntry.createdAt) ?: Clock.System.now().toEpochMilliseconds()
val thirtyDaysAgoTime = latestTime - 30.days.inWholeMilliseconds

val thirtyDaysAgoEntry = sortedPnl.find {
Expand Down

0 comments on commit beea575

Please sign in to comment.