diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-23 13:02:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-23 13:02:04 +0200 |
commit | 306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70 (patch) | |
tree | cb870eb6b35b952eb2b015a7ef63010b73552d2d /src/exchangedb | |
parent | 23e084718897f948d9256b898fc3a2a6ff582341 (diff) | |
download | exchange-306a08a71c0f1e8e3e549fbb72c0eecdb3ec9a70.tar.xz |
-rename TALER_amount_get_zero to TALER_amount_set_zero
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/exchangedb_transactions.c | 2 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/exchangedb_transactions.c b/src/exchangedb/exchangedb_transactions.c index 39d5bfbb0..aaf28a9ea 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 83d75b29c..462134275 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, |