From e4e8fe6c7c57305e3d2118b81c186ded6c6b1f3c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 9 Mar 2015 13:04:51 +0100 Subject: add withdraw proof to reserve history json --- src/mint/taler-mint-httpd_db.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mint/taler-mint-httpd_db.c') diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index ed911931..b20e8849 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -378,9 +378,12 @@ TALER_MINT_db_execute_withdraw_sign (struct MHD_Connection *connection, return TALER_MINT_reply_internal_error (connection, "Internal error"); } - collectable.denom_pub = (struct GNUNET_CRYPTO_rsa_PublicKey *) denomination_pub; collectable.sig = sig; + collectable.denom_pub = (struct GNUNET_CRYPTO_rsa_PublicKey *) denomination_pub; collectable.reserve_pub = *reserve; + GNUNET_CRYPTO_hash (blinded_msg, + blinded_msg_len, + &collectable.h_coin_envelope); collectable.reserve_sig = *signature; if (GNUNET_OK != TALER_MINT_DB_insert_collectable_blindcoin (db_conn, -- cgit v1.2.3