diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-11 16:38:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-11 16:38:09 +0200 |
commit | bd2372f20ef7259d87c44e92de32c66b26e6632f (patch) | |
tree | 1ddbbd74087d40143042e194881ca0f2a0e90e5d /src/mint/taler-mint-httpd_parsing.c | |
parent | 929a99cdbb579e53fe458752b147c10344c92aca (diff) |
implementing #3740
Diffstat (limited to 'src/mint/taler-mint-httpd_parsing.c')
-rw-r--r-- | src/mint/taler-mint-httpd_parsing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c index c492ecce..d079da5c 100644 --- a/src/mint/taler-mint-httpd_parsing.c +++ b/src/mint/taler-mint-httpd_parsing.c @@ -1025,7 +1025,7 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection, return GNUNET_NO; } if (0 != strcmp (currency, - TMH_MINT_CURRENCY)) + TMH_mint_currency_string)) { TALER_LOG_WARNING ("Currency specified not supported by this mint\n"); if (MHD_YES != @@ -1039,8 +1039,8 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection, } amount->value = (uint64_t) value; amount->fraction = (uint32_t) fraction; - GNUNET_assert (strlen (TMH_MINT_CURRENCY) < TALER_CURRENCY_LEN); - strcpy (amount->currency, TMH_MINT_CURRENCY); + GNUNET_assert (strlen (TMH_mint_currency_string) < TALER_CURRENCY_LEN); + strcpy (amount->currency, TMH_mint_currency_string); TALER_amount_normalize (amount); return GNUNET_OK; } |