gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: sandbox: do not compute balance, as im


From: gnunet
Subject: [libeufin] branch master updated: sandbox: do not compute balance, as implementation sometimes throws
Date: Sat, 07 Aug 2021 14:31:08 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 0109785  sandbox: do not compute balance, as implementation sometimes 
throws
0109785 is described below

commit 01097851c918e2ae7d520263ffaf2d0f168129b4
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Aug 7 14:31:03 2021 +0200

    sandbox: do not compute balance, as implementation sometimes throws
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt               | 1 -
 sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt
index 8528753..7e87c5a 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt
@@ -24,7 +24,6 @@ import com.cronutils.model.time.ExecutionTime
 import com.cronutils.parser.CronParser
 import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
 import io.ktor.client.HttpClient
-import kotlinx.coroutines.DelicateCoroutinesApi
 import kotlinx.coroutines.GlobalScope
 import kotlinx.coroutines.launch
 import kotlinx.coroutines.time.delay
diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 43a11d1..14436ad 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -307,7 +307,9 @@ fun buildCamtString(type: Int, subscriberIban: String, 
history: List<RawPayment>
                         }
                         element("Amt") {
                             attribute("Ccy", "EUR")
-                            text(balanceForAccount(subscriberIban).toString())
+                            // FIXME: the balance computation still not 
working properly
+                            
//text(balanceForAccount(subscriberIban).toString())
+                            text("0")
                         }
                         element("CdtDbtInd") {
                             // a temporary value to get the camt to validate.

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