aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/generate-revoke-basedb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/generate-revoke-basedb.sh')
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index fda768574..50cfb6ab8 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)