[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: creating bank's account along the 'con
From: |
gnunet |
Subject: |
[libeufin] branch master updated: creating bank's account along the 'config' step |
Date: |
Wed, 26 Jan 2022 09:46:02 +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 3b573ab4 creating bank's account along the 'config' step
3b573ab4 is described below
commit 3b573ab44312157c9a6022c8165f1222e0169979
Author: ms <ms@taler.net>
AuthorDate: Wed Jan 26 09:45:56 2022 +0100
creating bank's account along the 'config' step
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index b347fd7e..32f10a47 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -155,13 +155,20 @@ class Config : CliktCommand("Insert one configuration
into the database") {
println("Error, demobank ${nameOption} exists already, not
overriding it.")
exitProcess(1)
}
- DemobankConfigEntity.new {
+ val demoBank = DemobankConfigEntity.new {
currency = currencyOption
bankDebtLimit = bankDebtLimitOption
usersDebtLimit = usersDebtLimitOption
allowRegistrations = allowRegistrationsOption
name = nameOption
}
+ BankAccountEntity.new {
+ iban = getIban()
+ label = "bank" // used by the wire helper
+ owner = "bank" // used by the person name finder
+ // For now, the model assumes always one demobank
+ this.demoBank = demoBank
+ }
}
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: creating bank's account along the 'config' step,
gnunet <=