diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java index 41137ca74..344dd2bc0 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java @@ -68,9 +68,7 @@ public class SavingsAccountInterestPostingServiceImpl implements SavingsAccountI if (backdatedTxnsAllowedTill && savingsAccountData.getSummary().getInterestPostedTillDate() != null) { interestPostedToDate = Money.of(savingsAccountData.getCurrency(), savingsAccountData.getSummary().getTotalInterestPosted()); - SavingsAccountTransactionData savingsAccountTransactionData = retrieveLastTransactions(savingsAccountData); - LocalDate lastTransactionDate = savingsAccountTransactionData.getTransactionDate(); - savingsAccountData.setStartInterestCalculationDate(lastTransactionDate.plusDays(1)); + savingsAccountData.setStartInterestCalculationDate(savingsAccountData.getSummary().getInterestPostedTillDate()); } else { savingsAccountData.setStartInterestCalculationDate(startInterestDate); }