exchange

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

commit a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74
parent 3b97df2bd3fc4a544e779210c67ff55aa66caa1d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 22 Nov 2023 22:06:37 +0100

-check rvalues

Diffstat:
Msrc/exchange/taler-exchange-httpd_batch-deposit.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_batch-deposit.c b/src/exchange/taler-exchange-httpd_batch-deposit.c @@ -523,8 +523,9 @@ TEH_handler_batch_deposit (struct TEH_RequestContext *rc, return MHD_YES; /* failure */ } } - TALER_amount_set_zero (TEH_currency, - &dc.policy_details.accumulated_total); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TEH_currency, + &dc.policy_details.accumulated_total)); /* validate merchant's wire details (as far as we can) */ { char *emsg;