diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index 7b2e3fb9..69b8e2d4 100644 --- a/src/backend/taler-merchant-httpd_pay.c +++ b/src/backend/taler-merchant-httpd_pay.c @@ -738,8 +738,7 @@ check_payment_sufficient (struct PayContext *pc) * Deposit fees of *all* the coins are higher than * the fixed limit that the merchant is willing to * pay. The fees difference must be paid by the customer. - */ - if (-1 == TALER_amount_cmp (&pc->max_fee, + */if (-1 == TALER_amount_cmp (&pc->max_fee, &acc_fee)) { struct TALER_Amount excess_fee; @@ -783,8 +782,7 @@ check_payment_sufficient (struct PayContext *pc) * fraction, and check that the remaining paid amount is * enough to pay both the remaining wire fee customer's * fraction AND the price of the contract itself. - */ - else + */else { struct TALER_Amount deposit_fee_savings; @@ -2230,4 +2228,5 @@ MH_handler_pay (struct TMH_RequestHandler *rh, return MHD_YES; } + /* end of taler-merchant-httpd_pay.c */ |