aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_pay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r--src/backend/taler-merchant-httpd_pay.c7
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)
738 * Deposit fees of *all* the coins are higher than 738 * Deposit fees of *all* the coins are higher than
739 * the fixed limit that the merchant is willing to 739 * the fixed limit that the merchant is willing to
740 * pay. The fees difference must be paid by the customer. 740 * pay. The fees difference must be paid by the customer.
741 */ 741 */if (-1 == TALER_amount_cmp (&pc->max_fee,
742 if (-1 == TALER_amount_cmp (&pc->max_fee,
743 &acc_fee)) 742 &acc_fee))
744 { 743 {
745 struct TALER_Amount excess_fee; 744 struct TALER_Amount excess_fee;
@@ -783,8 +782,7 @@ check_payment_sufficient (struct PayContext *pc)
783 * fraction, and check that the remaining paid amount is 782 * fraction, and check that the remaining paid amount is
784 * enough to pay both the remaining wire fee customer's 783 * enough to pay both the remaining wire fee customer's
785 * fraction AND the price of the contract itself. 784 * fraction AND the price of the contract itself.
786 */ 785 */else
787 else
788 { 786 {
789 struct TALER_Amount deposit_fee_savings; 787 struct TALER_Amount deposit_fee_savings;
790 788
@@ -2230,4 +2228,5 @@ MH_handler_pay (struct TMH_RequestHandler *rh,
2230 return MHD_YES; 2228 return MHD_YES;
2231} 2229}
2232 2230
2231
2233/* end of taler-merchant-httpd_pay.c */ 2232/* end of taler-merchant-httpd_pay.c */