diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-09-10 16:04:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-09-10 16:04:51 +0200 |
commit | db82ec6d25642f3b68ff0f666cff5c53a4ef0068 (patch) | |
tree | 6a6a33e8abeef87ad341aa01ae67a6c78ee16268 /src/backend/taler-merchant-httpd_private-post-orders.c | |
parent | d31c91783a5d185f749a24965da80c7dbcfc9a8c (diff) |
improve error response
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 4db271ff..9215bc6f 100644 --- 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) |