summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_common.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/lib/exchange_api_common.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/lib/exchange_api_common.c')
-rw-r--r--src/lib/exchange_api_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 82604e0b..2ad55e6c 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -58,10 +58,10 @@ TALER_EXCHANGE_parse_reserve_history (
struct TALER_Amount total_out;
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (currency,
+ TALER_amount_set_zero (currency,
&total_in));
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (currency,
+ TALER_amount_set_zero (currency,
&total_out));
uuid_off = 0;
for (unsigned int off = 0; off<history_length; off++)
@@ -470,10 +470,10 @@ TALER_EXCHANGE_verify_coin_history (
return GNUNET_SYSERR;
}
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (currency,
+ TALER_amount_set_zero (currency,
total));
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (currency,
+ TALER_amount_set_zero (currency,
&rtotal));
for (size_t off = 0; off<len; off++)
{