commit 0d5cf904979eb022dd55459d2e04977fc25d5516
parent 508e9b8262143e1dce7e3649a9ec1538e8ef218b
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 3 Jun 2026 09:29:33 +0200
remove stale comment
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/exchangedb/get_coin_denomination.c b/src/exchangedb/get_coin_denomination.c
@@ -44,10 +44,6 @@ TALER_EXCHANGEDB_get_coin_denomination (
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Getting coin denomination of coin %s\n",
TALER_B2S (coin_pub));
-
- /* Used in #postgres_get_coin_denomination() to fetch
- the denomination public key hash for
- a coin known to the exchange. */
PREPARE (pg,
"get_coin_denomination",
"SELECT"
@@ -56,8 +52,7 @@ TALER_EXCHANGEDB_get_coin_denomination (
" FROM known_coins"
" JOIN denominations USING (denominations_serial)"
" WHERE coin_pub=$1"
- " FOR SHARE;");
-
+ " FOR SHARE;"); // FIXME: why FOR SHARE?
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
"get_coin_denomination",
params,