summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-12-05 23:52:07 +0100
committerMS <ms@taler.net>2023-12-05 23:52:07 +0100
commit8d3d8e2529a883cc66ea6e7263d7b32cfa182f2b (patch)
treea05f5d7f703b6388c72889fc53f1644e6402954f
parent6d3596ee4435e12c98b7343df52f6fb5d96745e0 (diff)
downloaddeployment-8d3d8e2529a883cc66ea6e7263d7b32cfa182f2b.tar.gz
deployment-8d3d8e2529a883cc66ea6e7263d7b32cfa182f2b.tar.bz2
deployment-8d3d8e2529a883cc66ea6e7263d7b32cfa182f2b.zip
syntax, fix exchange username
-rwxr-xr-xnetzbon/setup-exchange.sh2
-rwxr-xr-xnetzbon/withdraw.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/netzbon/setup-exchange.sh b/netzbon/setup-exchange.sh
index daa2039..cb7de54 100755
--- a/netzbon/setup-exchange.sh
+++ b/netzbon/setup-exchange.sh
@@ -157,7 +157,7 @@ cat << EOF > /etc/taler/secrets/exchange-accountcredentials-default.secret.conf
[exchange-accountcredentials-default]
WIRE_GATEWAY_URL=${EXCHANGE_WIRE_GATEWAY_URL}
WIRE_GATEWAY_AUTH_METHOD=basic
-USERNAME=Exchange
+USERNAME=exchange
PASSWORD=${BANK_EXCHANGE_PASSWORD}
EOF
diff --git a/netzbon/withdraw.sh b/netzbon/withdraw.sh
index 2f1b33b..7daf2a0 100755
--- a/netzbon/withdraw.sh
+++ b/netzbon/withdraw.sh
@@ -8,7 +8,7 @@ set -eu
NEXUS_CONFIG_FILE=/etc/libeufin/libeufin-nexus.conf
RESERVE_PUB=$(taler-wallet-cli \
api 'acceptManualWithdrawal' \
- '{"exchangeBaseUrl":'${PROTO}'://exchange.'$DOMAIN_NAME'",
+ '{"exchangeBaseUrl":"'${PROTO}'://exchange.'$DOMAIN_NAME'",
"amount":"'$CURRENCY':5"
}' | jq -r .result.reservePub)
DEBTOR_IBAN="CH8389144317421994586"