summaryrefslogtreecommitdiff
path: root/src/exchangedb
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/exchangedb
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/exchangedb')
-rw-r--r--src/exchangedb/exchangedb_transactions.c2
-rw-r--r--src/exchangedb/test_exchangedb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/exchangedb_transactions.c b/src/exchangedb/exchangedb_transactions.c
index 39d5bfbb..aaf28a9e 100644
--- a/src/exchangedb/exchangedb_transactions.c
+++ b/src/exchangedb/exchangedb_transactions.c
@@ -44,7 +44,7 @@ TALER_EXCHANGEDB_calculate_transaction_list_totals (
bool have_refund;
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (spent.currency,
+ TALER_amount_set_zero (spent.currency,
&refunded));
have_refund = false;
for (struct TALER_EXCHANGEDB_TransactionList *pos = tl;
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 83d75b29..46213427 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -1704,7 +1704,7 @@ run (void *cls)
cbc.reserve_pub = reserve_pub;
cbc.amount_with_fee = value;
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (CURRENCY, &cbc.withdraw_fee));
+ TALER_amount_set_zero (CURRENCY, &cbc.withdraw_fee));
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->insert_withdraw_info (plugin->cls,
session,