commit db82ec6d25642f3b68ff0f666cff5c53a4ef0068 parent d31c91783a5d185f749a24965da80c7dbcfc9a8c Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 10 Sep 2024 16:04:51 +0200 improve error response Diffstat:
| M | src/backend/taler-merchant-httpd_private-post-orders.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -2130,7 +2130,7 @@ set_exchanges (struct OrderContext *oc) oc, MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS, TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_AMOUNT_EXCEEDS_LEGAL_LIMITS, - oc->add_payment_details.wm->wire_method); + TALER_amount2s (&oc->set_exchanges.total_exchange_limit)); return false; } if (! oc->set_exchanges.exchange_good)