gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: debug


From: gnunet
Subject: [taler-anastasis] branch master updated: debug
Date: Tue, 24 Aug 2021 11:10:24 +0200

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

ms pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 15f6b2b  debug
15f6b2b is described below

commit 15f6b2b62ac0f3e3338bb2b77091d5d7c6b63087
Author: MS <ms@taler.net>
AuthorDate: Mon Aug 23 22:10:17 2021 -1100

    debug
---
 src/cli/test_iban.sh | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index b4b3c0e..c947518 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -59,14 +59,15 @@ function prepare_sandbox_account() {
 trap cleanup EXIT
 
 
-# Transfer _always_ from debit to credit/anastasis account.
+# Transfer only from debit to credit/anastasis account.
+# This function moves funds directly at the Sandbox.  No need
+# to pass through the Nexus+Ebics layer to issue the payment
 # $1 = amount ($CURRENCY:X.Y), $2 = subject.
 function wire_transfer_to_anastasis() {
   libeufin-sandbox make-transaction \
     --debit-account=sandbox-account-debit \
     --credit-account=sandbox-account-credit "$1" "$2"
-  # Download new transactions now, so that they show up in the
-  # Anastasis facade.
+  # Sync nexus with sandbox
   export LIBEUFIN_NEXUS_USERNAME=$CREDIT_USERNAME
   export LIBEUFIN_NEXUS_PASSWORD=$CREDIT_PASSWORD
   libeufin-cli accounts fetch-transactions nexus-bankaccount-credit > /dev/null
@@ -74,8 +75,6 @@ function wire_transfer_to_anastasis() {
 
 # $1 = facade base URL.  Merely a debug utility.
 function see_anastasis_transactions_via_facade() {
-  export LIBEUFIN_NEXUS_USERNAME=$CREDIT_USERNAME
-  export LIBEUFIN_NEXUS_PASSWORD=$CREDIT_PASSWORD
   curl -s --user "$CREDIT_USERNAME:$CREDIT_PASSWORD" 
"${1}history/incoming?delta=5" | jq
 }
 
@@ -455,7 +454,7 @@ SUBJECT="Anastasis ${NUMBER}"
 # wire_transfer_to_anastasis "$CURRENCY:1" "Sandbox-only transaction 2"
 #
 # This command (see function definition above) checks the history via the 
facade API:
-# see_anastasis_transactions_via_facade $FACADE_URL # via Nexus/facade.
+# see_anastasis_transactions_via_facade $FACADE_URL
 
 
 bash

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