aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd_parsing.c')
-rw-r--r--src/mint/taler-mint-httpd_parsing.c6
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 c492eccef..d079da5cc 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;
}