[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fix WTID storage
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fix WTID storage |
Date: |
Tue, 28 Jun 2022 14:47:07 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new feb93762 fix WTID storage
feb93762 is described below
commit feb9376272efbb4ac0b46246be3acc44cbaef2cb
Author: MS <ms@taler.net>
AuthorDate: Tue Jun 28 14:31:19 2022 +0200
fix WTID storage
---
nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 4 ++--
nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt | 2 +-
sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index 2e2e13d0..bdb0969e 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -210,11 +210,11 @@ private suspend fun talerTransfer(call: ApplicationCall) {
logger.debug("Taler requests payment: ${transferRequest.wtid}")
val row = TalerRequestedPaymentEntity.new {
this.facade = facade
- preparedPayment = pain001 // not really used/needed, just here to
silence warnings
+ preparedPayment = pain001
exchangeBaseUrl = transferRequest.exchange_base_url
requestUid = transferRequest.request_uid
amount = transferRequest.amount
- wtid = paymentSubject
+ wtid = transferRequest.wtid
creditAccount = transferRequest.credit_account
}
row.id.value
diff --git
a/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
index 127f2c30..33729e12 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
@@ -166,7 +166,7 @@ fun processCamtMessage(
res.reports.forEach {
NexusAssert(
it.account.iban == acct.iban,
- "Neuxs hit a report or statement of a wrong IBAN!"
+ "Nexus hit a report or statement of a wrong IBAN!"
)
it.balances.forEach { b ->
var clbdCount = 0
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index ccafb2a9..ede3db71 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -756,7 +756,7 @@ private fun handleCct(paymentRequest: String) {
*/
private fun handleEbicsC52(requestContext: RequestContext): ByteArray {
logger.debug("Handling C52 request")
- // Ignoring any dateRange parameter. (FIXME: clarify whether that is fine.)
+ // Ignoring any dateRange parameter. (FIXME)
val report = constructCamtResponse(52, requestContext.subscriber,
dateRange = null)
SandboxAssert(
report.size == 1,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: fix WTID storage,
gnunet <=