gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix after #7767


From: gnunet
Subject: [libeufin] branch master updated: fix after #7767
Date: Wed, 15 Mar 2023 20:03:23 +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 973ec3de fix after #7767
973ec3de is described below

commit 973ec3de5e78fa670f76a0d57f32ca1a1bbe8122
Author: MS <ms@taler.net>
AuthorDate: Wed Mar 15 20:03:14 2023 +0100

    fix after #7767
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/bankAccount.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/bankAccount.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/bankAccount.kt
index 0e7e64f6..d62f0b0f 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/bankAccount.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/bankAccount.kt
@@ -41,7 +41,7 @@ fun getMaxDebitForUser(username: String): Int {
 fun getBalanceForJson(value: BigDecimal, currency: String): BalanceJson {
     return BalanceJson(
         amount = "${currency}:${value.abs()}",
-        credit_debit_indicator = if (value < BigDecimal.ZERO) "DBIT" else 
"CRDT"
+        credit_debit_indicator = if (value < BigDecimal.ZERO) "debit" else 
"credit"
     )
 }
 

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