From d55b2cd59de8052ce87118ff68b0bf68cd7f3b67 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 May 2016 23:51:15 +0200 Subject: more work on test, noting what is left to do --- src/exchangedb/plugin_exchangedb_postgres.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 93680563..ab47964c 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1555,6 +1555,10 @@ postgres_get_denomination_info (void *cls, 0)); } PQclear (result); + issue->properties.purpose.size = htonl (sizeof (struct TALER_DenominationKeyValidityPS)); + issue->properties.purpose.purpose = htonl (TALER_SIGNATURE_MASTER_DENOMINATION_KEY_VALIDITY); + GNUNET_CRYPTO_rsa_public_key_hash (denom_pub->rsa_public_key, + &issue->properties.denom_hash); return GNUNET_OK; EXITIF_exit: -- cgit v1.2.3