exchange

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

commit a7f7875619a067c1faf5282eec1ca8b16e1d612e
parent b87ad62692d9e0235554fecc52862cfca128dfe8
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 22 Nov 2023 22:24:37 +0100

-fix minor threading issue

Diffstat:
Msrc/bank-lib/fakebank_twg_history.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bank-lib/fakebank_twg_history.c b/src/bank-lib/fakebank_twg_history.c @@ -59,6 +59,7 @@ TALER_FAKEBANK_twg_get_debit_history_ ( struct Transaction *pos; enum GNUNET_GenericReturnValue ret; bool in_shutdown; + const char *acc_payto_uri; if (NULL == cc) { @@ -266,6 +267,7 @@ TALER_FAKEBANK_twg_get_debit_history_ ( return MHD_YES; } in_shutdown = h->in_shutdown; + acc_payto_uri = hc->acc->payto_uri; GNUNET_assert (0 == pthread_mutex_unlock (&h->big_lock)); finish: @@ -288,7 +290,7 @@ finish: MHD_HTTP_OK, GNUNET_JSON_pack_string ( "debit_account", - hc->acc->payto_uri), + acc_payto_uri), GNUNET_JSON_pack_array_steal ( "outgoing_transactions", h));