diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-13 13:11:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-13 13:11:54 +0200 |
commit | 9e9bad8dad9aacd3028e1baab76de36c8a5dbdc7 (patch) | |
tree | 95bb3ee1bd7f28d5f04f2e2259cb5a06a7c6e69c /src/mint/taler-mint-httpd_deposit.c | |
parent | b69e3bf14b5ed73962daa9dfc3f0103b63038177 (diff) |
distinguish active/old denomination keys (#3634)
Diffstat (limited to 'src/mint/taler-mint-httpd_deposit.c')
-rw-r--r-- | src/mint/taler-mint-httpd_deposit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_deposit.c b/src/mint/taler-mint-httpd_deposit.c index e85eac78a..509eb5c67 100644 --- a/src/mint/taler-mint-httpd_deposit.c +++ b/src/mint/taler-mint-httpd_deposit.c @@ -86,7 +86,8 @@ verify_and_execute_deposit (struct MHD_Connection *connection, /* check denomination exists and is valid */ key_state = TMH_KS_acquire (); dki = TMH_KS_denomination_key_lookup (key_state, - &deposit->coin.denom_pub); + &deposit->coin.denom_pub, + TMH_KS_DKU_DEPOSIT); if (NULL == dki) { TMH_KS_release (key_state); @@ -188,7 +189,8 @@ parse_and_handle_deposit_request (struct MHD_Connection *connection, GNUNET_free (wire_enc); ks = TMH_KS_acquire (); dki = TMH_KS_denomination_key_lookup (ks, - &deposit.coin.denom_pub); + &deposit.coin.denom_pub, + TMH_KS_DKU_DEPOSIT); if (NULL == dki) { TMH_KS_release (ks); |