From 56a19c5226716e3216fcce9545496f8d64fe5754 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 7 Mar 2024 14:35:50 +0100 Subject: -fix case where frontend sets max_fee --- src/backend/taler-merchant-httpd_private-post-orders.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 3c3f9ab8..736da1c2 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -1374,6 +1374,10 @@ set_max_fee (struct OrderContext *oc) &stefan)); oc->set_max_fee.max_fee = stefan; } + else + { + oc->set_max_fee.max_fee = oc->parse_order.max_fee; + } oc->phase++; } -- cgit v1.2.3