commit a1e99dd5e0c02018af79349f010fa47db2a68301
parent 0e39148c1d6f6cceaf402c636b6b5d0bde4b6f6d
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 1 May 2025 19:47:15 +0200
reduce max coins in line with exchange API change
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -56,17 +56,17 @@
/**
* Maximum number of coins that we allow per transaction
*/
-#define MAX_COIN_ALLOWED_COINS 1024
+#define MAX_COIN_ALLOWED_COINS 64
/**
* Maximum number of tokens that we allow as inputs per transaction
*/
-#define MAX_TOKEN_ALLOWED_INPUTs 128
+#define MAX_TOKEN_ALLOWED_INPUTs 64
/**
* Maximum number of tokens that we allow as outputs per transaction
*/
-#define MAX_TOKEN_ALLOWED_OUTPUTs 128
+#define MAX_TOKEN_ALLOWED_OUTPUTs 64
/**
* How often do we ask the exchange again about our