exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ee2471a8c32ad319c292164b89f63c59ee80c7b1
parent ef6496aba56dd2472a61670f91ca2896022a45b7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 22 Jun 2023 10:27:11 +0200

fix uninitialized SANDBOX_PORT if only starting sandbox without nexus

Diffstat:
Msrc/testing/taler-unified-setup.sh | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh @@ -235,6 +235,12 @@ then NEXUS_PORT="0" SANDBOX_PORT="1$BANK_PORT" fi +else + if [ "1" = "$START_SANDBOX" ] + then + BANK_PORT=$(taler-config -c "$CONF" -s "BANK" -o "HTTP_PORT") + SANDBOX_PORT="$BANK_PORT" + fi fi if [ "1" = "$START_SANDBOX" ]