summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-14 16:49:17 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-14 16:49:17 +0530
commit96878561a524c2f7c12b0b35a13adce1c4112aed (patch)
treeb10de6451f0baf9ef646dd043c466fc81b48c57f
parent3161751eba72d62d062cfc4f6e1eee5f2bbece59 (diff)
downloadexchange-96878561a524c2f7c12b0b35a13adce1c4112aed.tar.gz
exchange-96878561a524c2f7c12b0b35a13adce1c4112aed.tar.bz2
exchange-96878561a524c2f7c12b0b35a13adce1c4112aed.zip
fix test withdrawal wallet invocation
m---------contrib/gana0
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh16
2 files changed, 11 insertions, 5 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 24fa8dad8605b495efc1daa3d7189e2783110a3
+Subproject f45d064d7986be3cac550761fa95fb3fdd89dab
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index fda76857..50cfb6ab 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -139,11 +139,17 @@ echo " DONE"
# run wallet CLI
echo "Running wallet"
-taler-wallet-cli --wallet-db=$WALLET_DB --no-throttle \
- testing withdraw \
- -e $EXCHANGE_URL \
- -b $BANK_URL \
- -a TESTKUDOS:8
+
+taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 'withdrawTestBalance' \
+ "$(jq -n '
+ {
+ amount: "TESTKUDOS:8",
+ bankBaseUrl: $BANK_URL,
+ exchangeBaseUrl: $BANK_URL,
+ }' \
+ --arg BANK_URL $BANK_URL \
+ --arg EXCHANGE_URL $EXCHANGE_URL
+ )"
export coins=$(taler-wallet-cli --wallet-db=$WALLET_DB advanced dump-coins)