aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-07 14:35:50 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-07 14:35:50 +0100
commit56a19c5226716e3216fcce9545496f8d64fe5754 (patch)
treee54c393f451708f1b0b5a19da31a426cfc2dd972
parent9dd3dcf1bbaad2a50d2a8ca8d1345508558ff455 (diff)
-fix case where frontend sets max_fee
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c4
1 files changed, 4 insertions, 0 deletions
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++;
}