[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: misc bugfixes
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: misc bugfixes |
Date: |
Mon, 01 Mar 2021 13:35:14 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 115127d misc bugfixes
115127d is described below
commit 115127d029f4b2d6138eaa8f7d148b4507ae81fb
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 1 13:35:12 2021 +0100
misc bugfixes
---
src/cli/test_anastasis_reducer_enter_secret.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh
b/src/cli/test_anastasis_reducer_enter_secret.sh
index 36521d1..f965fc0 100755
--- a/src/cli/test_anastasis_reducer_enter_secret.sh
+++ b/src/cli/test_anastasis_reducer_enter_secret.sh
@@ -270,8 +270,6 @@ curl -H "Content-Type: application/json" -X POST -d
'{"payto_uris":["payto://x-t
echo " DONE"
-bash
-
echo -e $COLOR$BOLD"Test enter secret in a backup state ..."$NORM$NOCOLOR
$PREFIX anastasis-reducer -a \
@@ -293,7 +291,7 @@ fi
echo " OK"
echo -e $COLOR$BOLD"Current state of policy uploads:"$NORM$NOCOLOR
-POLICY_UPLOADS=`jq -r -e .recovery_document_uploads < $TFILE`
+POLICY_UPLOADS=`jq -r -e .policy_payment_requests < $TFILE`
echo $POLICY_UPLOADS
#Pay
echo " "
@@ -312,10 +310,10 @@ taler-wallet-cli --wallet-db=$WALLET_DB run-until-done
echo " OK"
echo -e $COLOR$BOLD"Parsing policy uploads for payment-uri ..."$NORM$NOCOLOR
-OBJECT_SIZE=`jq -r -e '.recovery_document_uploads | length' < $TFILE`
+OBJECT_SIZE=`jq -r -e '.policy_payment_requests | length' < $TFILE`
for ((INDEX=0; INDEX < $OBJECT_SIZE; INDEX++))
do
- PAY_URI=`jq --argjson INDEX $INDEX -r -e '[.recovery_document_uploads |
keys[] as $k | .[$k].pay_url][$INDEX]' < $TFILE`
+ PAY_URI=`jq --argjson INDEX $INDEX -r -e
'.policy_payment_requests[$INDEX].payto' < $TFILE`
# run wallet CLI
echo -n "."
taler-wallet-cli --wallet-db=$WALLET_DB handle-uri $PAY_URI -y
@@ -323,8 +321,10 @@ done
echo " OK"
echo -e $COLOR$BOLD"Running wallet run-pending..."$NORM$NOCOLOR
taler-wallet-cli --wallet-db=$WALLET_DB run-pending
-
echo -e $COLOR$BOLD"Payments done"$NORM$NOCOLOR
+
+bash
+
echo -e $COLOR$BOLD"Try to upload again ..."$NORM$NOCOLOR
$PREFIX anastasis-reducer pay $TFILE $UFILE
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-anastasis] branch master updated: misc bugfixes,
gnunet <=