diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-09 13:04:51 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-09 13:04:51 +0100 |
commit | e4e8fe6c7c57305e3d2118b81c186ded6c6b1f3c (patch) | |
tree | a9c44757d10a4194d2ce1d62277002184147af96 /src/mint/taler-mint-httpd_db.c | |
parent | f2700dc6eed292f18f2bb0c0222e3ee946e820e7 (diff) | |
download | exchange-e4e8fe6c7c57305e3d2118b81c186ded6c6b1f3c.tar.gz exchange-e4e8fe6c7c57305e3d2118b81c186ded6c6b1f3c.tar.bz2 exchange-e4e8fe6c7c57305e3d2118b81c186ded6c6b1f3c.zip |
add withdraw proof to reserve history json
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index ed9119313..b20e88494 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, |