exchange

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

commit 781834130453b9549a42cdb71fcceda3fe062e31
parent 2367a1dd6708b1c2511662977dcee6175d2347c9
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 12 Jul 2026 22:10:50 +0200

NULL handling

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

diff --git a/src/bank-lib/fakebank_bank_get_withdrawals.c b/src/bank-lib/fakebank_bank_get_withdrawals.c @@ -74,7 +74,9 @@ TALER_FAKEBANK_bank_get_withdrawals_ ( wo->confirmation_done), GNUNET_JSON_pack_allow_null ( GNUNET_JSON_pack_string ("selected_exchange_account", - wo->exchange_account->payto_uri)), + (NULL == wo->exchange_account) + ? NULL + : wo->exchange_account->payto_uri)), GNUNET_JSON_pack_allow_null ( wo->selection_done ? GNUNET_JSON_pack_data_auto ("selected_reserve_pub",