diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-25 17:22:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-25 17:22:54 +0100 |
commit | e7d4183d1c82e600aa69fa48145115f4abc02aac (patch) | |
tree | bd93783f4a585fe472e1fe1d8c075a191e8bfa11 /src | |
parent | 74e4c6429a09a5f13c958c9ede068fc094a9552d (diff) |
-fix FTBFS
Diffstat (limited to 'src')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index d76696aa2..6ef1bb030 100644 --- 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 index 49dc8c2db..a0c648b2d 100644 --- 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 == |