[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix FTBFS
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix FTBFS |
Date: |
Sat, 25 Dec 2021 17:22:56 +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 e7d4183d -fix FTBFS
e7d4183d is described below
commit e7d4183d1c82e600aa69fa48145115f4abc02aac
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Dec 25 17:22:54 2021 +0100
-fix FTBFS
---
src/exchangedb/plugin_exchangedb_postgres.c | 2 +-
src/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
index d76696aa..6ef1bb03 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 49dc8c2d..a0c648b2 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 ==
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.