commit 287f1c2005c030dc0c74027f03d92c2cebbbb454
parent 7456ef646409571e0fefc5044a6c1d2ffca7a955
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 29 Jun 2026 23:07:40 +0200
defensive initialization
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/exchangedb/exchangedb_transactions.c b/src/exchangedb/exchangedb_transactions.c
@@ -35,6 +35,9 @@ TALER_EXCHANGEDB_calculate_transaction_list_totals (
GNUNET_assert (GNUNET_OK ==
TALER_amount_set_zero (spent.currency,
&refunded));
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_set_zero (spent.currency,
+ &deposit_fee));
have_refund = false;
for (struct TALER_EXCHANGEDB_TransactionList *pos = tl;
NULL != pos;