commit d238b9d3986a0fde6e42626c9b966eb70f6004ea
parent 891a0043856609098e1b451fac88b2b0fd0b4ae2
Author: Fournier Nicolas <nicolas.fournier@ensta-paristech.fr>
Date: Thu, 13 Aug 2015 09:20:35 +0200
fix for get_known_coin
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
@@ -2116,6 +2116,8 @@ get_known_coin (void *cls,
return GNUNET_NO;
}
GNUNET_assert (1 == nrows); /* due to primary key */
+ if (NULL == coin_info)
+ return GNUNET_YES;
{
struct TALER_PQ_ResultSpec rs[] = {
TALER_PQ_result_spec_rsa_public_key ("denom_pub", &coin_info->denom_pub.rsa_public_key),