auditordb postgres plugin: set master_pub in result

This commit is contained in:
tg(x) 2016-11-04 01:06:19 +01:00
parent 160bff40d4
commit f113c1ebd6

View File

@ -1246,7 +1246,7 @@ postgres_select_denomination_info (void *cls,
} }
for (int i = 0; i < nrows; i++) for (int i = 0; i < nrows; i++)
{ {
struct TALER_DenominationKeyValidityPS issue = { 0 }; struct TALER_DenominationKeyValidityPS issue = { .master = *master_pub };
struct GNUNET_PQ_ResultSpec rs[] = { struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_auto_from_type ("denom_pub_hash", &issue.denom_hash), GNUNET_PQ_result_spec_auto_from_type ("denom_pub_hash", &issue.denom_hash),