aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
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 /src/auditor
parent3161751eba72d62d062cfc4f6e1eee5f2bbece59 (diff)
fix test withdrawal wallet invocation
Diffstat (limited to 'src/auditor')
-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)