summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-23 13:02:04 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-23 13:02:04 +0200
commit306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70 (patch)
treecb870eb6b35b952eb2b015a7ef63010b73552d2d /src/exchange/taler-exchange-aggregator.c
parent23e084718897f948d9256b898fc3a2a6ff582341 (diff)
downloadexchange-306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70.tar.gz
exchange-306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70.tar.bz2
exchange-306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70.zip
-rename TALER_amount_get_zero to TALER_amount_set_zero
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 631599c4..786183ad 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