exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit e7d4183d1c82e600aa69fa48145115f4abc02aac
parent 74e4c6429a09a5f13c958c9ede068fc094a9552d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 25 Dec 2021 17:22:54 +0100

-fix FTBFS

Diffstat:
Msrc/exchangedb/plugin_exchangedb_postgres.c | 2+-
Msrc/exchangedb/test_exchangedb.c | 3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c @@ -6091,7 +6091,7 @@ postgres_insert_refresh_reveal ( GNUNET_PQ_query_param_auto_from_type (&rrc->h_denom_pub), GNUNET_PQ_query_param_fixed_size (rrc->coin_ev, rrc->coin_ev_size), - GNUNET_PQ_query_param_auto_from_type (&rrc->h_coin_ev), + GNUNET_PQ_query_param_auto_from_type (&rrc->coin_envelope_hash), TALER_PQ_query_param_blinded_denom_sig (&rrc->coin_sig), GNUNET_PQ_query_param_end }; diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c @@ -1673,6 +1673,9 @@ run (void *cls) GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, ccoin->coin_ev, ccoin->coin_ev_size); + GNUNET_CRYPTO_hash (ccoin->coin_ev, + ccoin->coin_ev_size, + &ccoin->coin_envelope_hash.hash); TALER_denom_pub_hash (&new_dkp[cnt]->pub, &ccoin->h_denom_pub); GNUNET_assert (GNUNET_OK ==