gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix row instantiation


From: gnunet
Subject: [libeufin] branch master updated: fix row instantiation
Date: Mon, 02 Dec 2019 20:19:10 +0100

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

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new e186080  fix row instantiation
e186080 is described below

commit e186080e173eecae8fd4c53832e382b9e4323e2d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Dec 2 20:19:03 2019 +0100

    fix row instantiation
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 9473d8d..6c0659c 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -117,20 +117,21 @@ fun main() {
             signaturePrivateKey = SerialBlob(pairC.private.encoded)
         }
 
+        val customerEntity = BankCustomerEntity.new {
+            name = "Mina"
+            balance = BalanceEntity.new {
+                value = 0
+                fraction = 0
+            }
+        }
+
         val subscriber = EbicsSubscriberEntity.new {
             partnerId = "PARTNER1"
             userId = "USER1"
             systemId = null
             state = SubscriberState.NEW
             nextOrderID = 1
-        }
-
-        BankCustomerEntity.new {
-            name = "Mina"
-            balance = BalanceEntity.new {
-                value = 0
-                fraction = 0
-            }
+            balance = customerEntity.balance
         }
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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