summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_refresh.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-22 17:10:45 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-22 17:10:45 +0100
commit1d7bb2d091fc6a87cb2b5b2f2e584ed6c3cc56db (patch)
tree75525361cbb15456218860d2a9340256810c5b81 /src/mint/taler-mint-httpd_refresh.c
parent884fff1297f7da95eed0646a510c3561ba2bfc15 (diff)
downloadexchange-1d7bb2d091fc6a87cb2b5b2f2e584ed6c3cc56db.tar.gz
exchange-1d7bb2d091fc6a87cb2b5b2f2e584ed6c3cc56db.tar.bz2
exchange-1d7bb2d091fc6a87cb2b5b2f2e584ed6c3cc56db.zip
fix #3636, and add amount parsing functionality to spec-parser
Diffstat (limited to 'src/mint/taler-mint-httpd_refresh.c')
-rw-r--r--src/mint/taler-mint-httpd_refresh.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c
index 3253bad8d..1fafd9481 100644
--- a/src/mint/taler-mint-httpd_refresh.c
+++ b/src/mint/taler-mint-httpd_refresh.c
@@ -237,19 +237,15 @@ get_coin_public_info (struct MHD_Connection *connection,
TALER_MINT_PARSE_RSA_SIGNATURE ("denom_sig", &sig),
TALER_MINT_PARSE_RSA_PUBLIC_KEY ("denom_pub", &pk),
TALER_MINT_PARSE_FIXED ("confirm_sig", &melt_sig),
- /* FIXME: #3636! */
+ TALER_MINT_PARSE_AMOUNT ("value_with_fee", &amount),
TALER_MINT_PARSE_END
};
- memset (&amount, 0, sizeof (amount)); // FIXME: #3636!
ret = TALER_MINT_parse_json_data (connection,
coin_info,
spec);
if (GNUNET_OK != ret)
return ret;
- /* FIXME: include amount of coin value to be melted here (#3636!) and
- in what we return!? */
-
/* check mint signature on the coin */
r_public_info->denom_sig = sig;
r_public_info->denom_pub = pk;