exchange

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

commit 06319e6995bf8606306d03a4c05051cf90b143dd
parent 0961195ff3da36604e58d2b355dc570d908eed08
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 15 Dec 2023 16:51:30 +0800

include currencies.conf in libtalerexchange as the merchant-httpd needs it

Diffstat:
Mdebian/changelog | 6++++++
Mdebian/libtalerexchange.install | 1+
Msrc/util/config.c | 4++++
3 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog @@ -1,3 +1,9 @@ +taler-exchange (0.9.3-7) unstable; urgency=low + + * Move currencies.conf into libtalerexchange base package. + + -- Christian Grothoff <grothoff@gnu.org> Tue, 15 Dec 2023 18:50:12 -0700 + taler-exchange (0.9.3-6) unstable; urgency=low * Generate proper markdown in taler-terms-generator. diff --git a/debian/libtalerexchange.install b/debian/libtalerexchange.install @@ -2,6 +2,7 @@ usr/lib/*/libtaler*.so.* # FIXME: All this should eventually go into taler-base. usr/share/taler/config.d/paths.conf +usr/share/taler/config.d/currencies.conf usr/share/taler/config.d/taler.conf debian/etc-libtalerexchange/* etc/ usr/bin/taler-config diff --git a/src/util/config.c b/src/util/config.c @@ -461,7 +461,11 @@ TALER_CONFIG_parse_currencies (const struct GNUNET_CONFIGURATION_Handle *cfg, *num_currencies = cpc.num_currencies; *cspecs = cpc.cspecs; if (0 == *num_currencies) + { + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No currency formatting specification found! Please check your installation!\n"); return GNUNET_NO; + } return GNUNET_OK; }