summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-transfers.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-07 20:19:36 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-13 21:16:49 +0200
commit98e316c848c6ba7dc86c56c9c4c4557925c43d6d (patch)
tree9fd3ea58c50c06abcf09c5f796618c7c664f1209 /src/backend/taler-merchant-httpd_private-post-transfers.c
parent829354b0c2c0951ba993c9e45e5c03d4e8fb5157 (diff)
downloadmerchant-98e316c848c6ba7dc86c56c9c4c4557925c43d6d.tar.gz
merchant-98e316c848c6ba7dc86c56c9c4c4557925c43d6d.tar.bz2
merchant-98e316c848c6ba7dc86c56c9c4c4557925c43d6d.zip
-first hack at multicurrency support in merchant
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-transfers.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-transfers.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.c b/src/backend/taler-merchant-httpd_private-post-transfers.c
index 2d99f35e..11f76e29 100644
--- a/src/backend/taler-merchant-httpd_private-post-transfers.c
+++ b/src/backend/taler-merchant-httpd_private-post-transfers.c
@@ -45,9 +45,8 @@ TMH_private_post_transfers (const struct TMH_RequestHandler *rh,
struct TALER_WireTransferIdentifierRawP wtid;
struct TALER_Amount amount;
struct GNUNET_JSON_Specification spec[] = {
- TALER_JSON_spec_amount ("credit_amount",
- TMH_currency,
- &amount),
+ TALER_JSON_spec_amount_any ("credit_amount",
+ &amount),
GNUNET_JSON_spec_fixed_auto ("wtid",
&wtid),
GNUNET_JSON_spec_string ("payto_uri",