gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: expecting BIC for the receiver


From: gnunet
Subject: [libeufin] branch master updated: expecting BIC for the receiver
Date: Thu, 26 Oct 2023 11:19:38 +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 a4929882 expecting BIC for the receiver
a4929882 is described below

commit a492988243a0dfcb72869c0b6a4d85cb3c1a9bcb
Author: MS <ms@taler.net>
AuthorDate: Thu Oct 26 11:19:34 2023 +0200

    expecting BIC for the receiver
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt
index 87e80d8e..368b205b 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt
@@ -43,6 +43,9 @@ fun createPain001(
     }
     if (debtorMetadataFile.bank_code == null)
         throw Exception("Need debtor BIC, but not found in the debtor account 
metadata file.")
+    // Current version expects the receiver BIC, TODO: try also without.
+    if (creditAccount.bic == null)
+        throw Exception("Expecting the receiver BIC.")
 
     return constructXml(indent = true) {
         root("Document") {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]