[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 01/02: comment
From: |
gnunet |
Subject: |
[libeufin] 01/02: comment |
Date: |
Sat, 07 Jan 2023 14:07:10 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 65e3e08d705ef2a8b82e6b6f3d1da09a24ff75b7
Author: MS <ms@taler.net>
AuthorDate: Sat Jan 7 14:03:31 2023 +0100
comment
---
.../src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index c2e235c5..d820f44f 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -677,6 +677,11 @@ private fun parsePain001(paymentRequest: String):
PainParseResult {
}
}
+ /**
+ * NOTE: this check breaks the compatibility with pain.001,
+ * because that allows up to 5 fractional digits. For
Taler
+ * compatibility however, we enforce the max 2 fractional
digits policy.
+ */
if (!validatePlainAmount(txDetails.amt.textContent)) {
throw EbicsProcessingError(
"Amount number malformed:
${txDetails.amt.textContent}"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.