Skip to content

Commit

Permalink
Fix incorrect check
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikJannsen committed Jan 26, 2025
1 parent 6536f45 commit 259e0fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private void maybeRedactDataOfCompletedTrades() {
long redactDateForNotCompletedTrades = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDaysForNotCompletedTrades);
long numChanges = getTrades().stream()
.filter(trade -> {
if (StringUtils.isNotEmpty(trade.getPaymentAccountData().get())) {
if (StringUtils.isEmpty(trade.getPaymentAccountData().get())) {
return false;
}
boolean doRedaction = trade.getTradeCompletedDate().map(date -> date < redactDate)
Expand Down

0 comments on commit 259e0fa

Please sign in to comment.