summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 631599c41..786183ade 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -398,7 +398,7 @@ deposit_cb (void *cls,
(unsigned long long) row_id,
TALER_amount2s (amount_with_fee));
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (au->total_amount.currency,
+ TALER_amount_set_zero (au->total_amount.currency,
&au->total_amount));
}
else
@@ -576,7 +576,7 @@ aggregate_cb (void *cls,
(unsigned long long) row_id,
TALER_amount2s (&au->total_amount));
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (old.currency,
+ TALER_amount_set_zero (old.currency,
&au->total_amount));
}
else