[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -removed confused TODOs
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -removed confused TODOs |
Date: |
Sat, 12 Feb 2022 12:14:26 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new d5817294 -removed confused TODOs
d5817294 is described below
commit d581729443de505c7061fa9f95cff67c1e169e0c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 12 12:14:17 2022 +0100
-removed confused TODOs
---
src/util/taler-exchange-secmod-cs.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/util/taler-exchange-secmod-cs.c
b/src/util/taler-exchange-secmod-cs.c
index 976880e7..6e4e163b 100644
--- a/src/util/taler-exchange-secmod-cs.c
+++ b/src/util/taler-exchange-secmod-cs.c
@@ -397,12 +397,10 @@ setup_key (struct DenominationKey *dk,
struct GNUNET_CRYPTO_CsPublicKey pub;
GNUNET_CRYPTO_cs_private_key_generate (&priv);
- GNUNET_CRYPTO_cs_private_key_get_public (&priv, &pub);
- // TODO: Add nullcheck?
-
+ GNUNET_CRYPTO_cs_private_key_get_public (&priv,
+ &pub);
TALER_cs_pub_hash (&pub,
&dk->h_cs);
-
GNUNET_asprintf (&dk->filename,
"%s/%s/%llu",
keydir,
@@ -1118,8 +1116,8 @@ parse_key (struct Denomination *denom,
struct DenominationKey *dk;
struct DenominationKey *before;
- // TODO: Add check if pubkey is set?
- GNUNET_CRYPTO_cs_private_key_get_public (priv, &pub);
+ GNUNET_CRYPTO_cs_private_key_get_public (priv,
+ &pub);
dk = GNUNET_new (struct DenominationKey);
dk->denom_priv = *priv;
dk->denom = denom;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated: -removed confused TODOs,
gnunet <=