diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-23 13:02:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-23 13:02:15 +0200 |
commit | 37eb7373adeaff6f2096b8810c7fe4ca0ced547a (patch) | |
tree | a3664c8d70daee100d0b89d685de7d8d5a0d6f22 /src/backend/taler-merchant-httpd_post-orders-ID-pay.c | |
parent | 8c9f0b724fbfbf2f5bd9d80c013943b2b1aac83f (diff) | |
download | merchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.tar.gz merchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.tar.bz2 merchant-37eb7373adeaff6f2096b8810c7fe4ca0ced547a.zip |
-rename TALER_amount_get_zero to TALER_amount_set_zero
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index 2efbade0..682900b4 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1226,7 +1226,7 @@ check_payment_sufficient (struct PayContext *pc) /* Wire fee threshold is still above the wire fee amount. Customer is not going to contribute on this. */ GNUNET_assert (GNUNET_OK == - TALER_amount_get_zero (total_wire_fee.currency, + TALER_amount_set_zero (total_wire_fee.currency, &wire_fee_customer_contribution)); break; default: @@ -1362,13 +1362,13 @@ execute_pay_transaction (struct PayContext *pc) (used in check_coin_paid(), check_coin_refunded() and check_payment_sufficient()). */ GNUNET_break (GNUNET_OK == - TALER_amount_get_zero (pc->amount.currency, + TALER_amount_set_zero (pc->amount.currency, &pc->total_paid)); GNUNET_break (GNUNET_OK == - TALER_amount_get_zero (pc->amount.currency, + TALER_amount_set_zero (pc->amount.currency, &pc->total_fees_paid)); GNUNET_break (GNUNET_OK == - TALER_amount_get_zero (pc->amount.currency, + TALER_amount_set_zero (pc->amount.currency, &pc->total_refunded)); for (unsigned int i = 0; i<pc->coins_cnt; i++) pc->dc[i].found_in_db = false; |