aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnetzbon/config_libeufin_bank.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/netzbon/config_libeufin_bank.sh b/netzbon/config_libeufin_bank.sh
index d2b5ccd..0c5a4b4 100755
--- a/netzbon/config_libeufin_bank.sh
+++ b/netzbon/config_libeufin_bank.sh
@@ -71,14 +71,14 @@ echo "settings = { bankName: \"${BANK_NAME}\" }" >/etc/libeufin/settings.js
say "DONE"
say "Create exchange account..."
-EXCHANGE_PAYTO="$(sudo -u libeufin-bank libeufin-bank create-account '{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
+EXCHANGE_PAYTO_NEW="$(sudo -u libeufin-bank libeufin-bank create-account '{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
EXCHANGE_WIRE_GATEWAY_URL_NEW="${PROTO}://bank.$DOMAIN_NAME/accounts/exchange/taler-wire-gateway/"
# Communicating this to the exchange script, as the exchange
# needs these for the /keys response.
if test -z "${EXCHANGE_PAYTO:-}"; then
- echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO}\"" >> config/internal.conf
+ echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO_NEW}\"" >> config/internal.conf
fi
if test -z "${EXCHANGE_WIRE_GATEWAY_URL:-}"; then