libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 391f7a62c1423be53d3779352e5e25bc17774278
parent 8e529d8867ddb871a249bf630d8e4f9ce3179b6a
Author: MS <ms@taler.net>
Date:   Fri,  5 Feb 2021 13:37:33 +0100

rename function

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt @@ -416,7 +416,7 @@ private fun ingestOneIncomingTransaction(payment: NexusBankTransactionEntity, tx return } -fun checkAndPrepareRefunds(bankAccount: NexusBankAccountEntity, lastSeenId: Long) { +fun maybePrepareRefunds(bankAccount: NexusBankAccountEntity, lastSeenId: Long) { logger.debug("Searching refundable payments of account: ${bankAccount}," + " after last seen transaction id: ${lastSeenId}") transaction { @@ -520,7 +520,7 @@ fun ingestTalerTransactions(bankAccountId: String) { } lastId = it.id.value } - checkAndPrepareRefunds(bankAccount, facadeState.highestSeenMessageSerialId) + maybePrepareRefunds(bankAccount, facadeState.highestSeenMessageSerialId) facadeState.highestSeenMessageSerialId = lastId }