summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-23 13:02:15 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-23 13:02:15 +0200
commit37eb7373adeaff6f2096b8810c7fe4ca0ced547a (patch)
treea3664c8d70daee100d0b89d685de7d8d5a0d6f22 /src/backenddb/plugin_merchantdb_postgres.c
parent8c9f0b724fbfbf2f5bd9d80c013943b2b1aac83f (diff)
downloadmerchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.tar.gz
merchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.tar.bz2
merchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.zip
-rename TALER_amount_get_zero to TALER_amount_set_zero
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 50870fb5..46e5e376 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2895,7 +2895,7 @@ process_deposits_for_refund_cb (void *cls,
now = GNUNET_TIME_absolute_get ();
(void) GNUNET_TIME_round_abs (&now);
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (ctx->refund->currency,
+ TALER_amount_set_zero (ctx->refund->currency,
&current_refund));
memset (rcd, 0, sizeof (rcd));
/* Pass 1: Collect amount of existing refunds into current_refund.
@@ -2934,7 +2934,7 @@ process_deposits_for_refund_cb (void *cls,
};
GNUNET_assert (GNUNET_OK ==
- TALER_amount_get_zero (ctx->refund->currency,
+ TALER_amount_set_zero (ctx->refund->currency,
&ictx.refunded_amount));
ires = GNUNET_PQ_eval_prepared_multi_select (ctx->pg->conn,
"find_refunds_by_coin",