diff options
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; |