exchange

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

commit 7f8aa41a2a05e5de264c1a9fe13be10450ac2e1b
parent 2fb250edd39429ffb6a25c83962588ba83e8e635
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 31 Dec 2025 13:27:32 +0100

fix problem with year rollover in tests

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

diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh @@ -909,11 +909,14 @@ then echo -n "Setting up exchange keys ..." rm -f test_exchange_api_home/.local/share/taler-exchange/offline/secm_tofus.pub + NEXT_YEAR=$(expr 1 + $(date +%Y)) taler-exchange-offline -c "$CONF" \ download \ sign \ wire-fee now "$WIRE_DOMAIN" "$CURRENCY:0.01" "$CURRENCY:0.01" \ + wire-fee "$NEXT_YEAR" "$WIRE_DOMAIN" "$CURRENCY:0.01" "$CURRENCY:0.01" \ global-fee now "$CURRENCY:0.01" "$CURRENCY:0.01" "$CURRENCY:0.0" 1h 1year 5 \ + global-fee "$NEXT_YEAR" "$CURRENCY:0.01" "$CURRENCY:0.01" "$CURRENCY:0.0" 1h 1year 5 \ upload &> taler-exchange-offline.log echo "OK" ENABLED=$(taler-exchange-config -c "$CONF" -s "$USE_ACCOUNT" -o "ENABLE_CREDIT")