gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: follow-up


From: gnunet
Subject: [libeufin] branch master updated: follow-up
Date: Sun, 03 Dec 2023 17:10:43 +0100

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 f9a43b82 follow-up
f9a43b82 is described below

commit f9a43b8213173d618de84397b236e1e5a9f1368d
Author: MS <ms@taler.net>
AuthorDate: Sun Dec 3 17:10:20 2023 +0100

    follow-up
---
 nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt
index 176247d0..fcc469c2 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsFetch.kt
@@ -582,8 +582,7 @@ class EbicsFetch: CliktCommand("Fetches bank records.  
Defaults to camt.054 noti
         val cfg: EbicsSetupConfig = doOrFail {
             extractEbicsConfig(configFile)
         }
-        // Fail now if keying is incomplete.
-        if (!isKeyingComplete(cfg)) exitProcess(1)
+
         val dbCfg = cfg.config.extractDbConfigOrFail()
         val db = Database(dbCfg.dbConnStr)
 
@@ -657,6 +656,8 @@ class EbicsFetch: CliktCommand("Fetches bank records.  
Defaults to camt.054 noti
             return
         }
 
+        // Fail now if keying is incomplete.
+        if (!isKeyingComplete(cfg)) exitProcess(1)
         val bankKeys = loadBankKeys(cfg.bankPublicKeysFilename) ?: 
exitProcess(1)
         if (!bankKeys.accepted && !import && !parse) {
             logger.error("Bank keys are not accepted, yet.  Won't fetch any 
records.")

-- 
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]