From d61c2e400ac07574fc326c8d2be6f51be7c2a25c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 16 Jan 2020 23:49:34 +0100 Subject: kill another FIXME --- src/exchangedb/exchangedb_transactions.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/exchangedb/exchangedb_transactions.c') diff --git a/src/exchangedb/exchangedb_transactions.c b/src/exchangedb/exchangedb_transactions.c index 2891f0adb..871061aa2 100644 --- a/src/exchangedb/exchangedb_transactions.c +++ b/src/exchangedb/exchangedb_transactions.c @@ -46,8 +46,9 @@ TALER_EXCHANGEDB_calculate_transaction_list_totals (struct GNUNET_assert (GNUNET_OK == TALER_amount_get_zero (spent.currency, &refunded)); - for (struct TALER_EXCHANGEDB_TransactionList *pos = tl; NULL != pos; pos = - pos->next) + for (struct TALER_EXCHANGEDB_TransactionList *pos = tl; + NULL != pos; + pos = pos->next) { switch (pos->type) { @@ -67,7 +68,7 @@ TALER_EXCHANGEDB_calculate_transaction_list_totals (struct if (GNUNET_OK != TALER_amount_add (&spent, &spent, - &pos->details.melt->session.amount_with_fee)) + &pos->details.melt->amount_with_fee)) { GNUNET_break (0); return GNUNET_SYSERR; -- cgit v1.2.3