fix for get_known_coin

This commit is contained in:
Fournier Nicolas 2015-08-13 09:20:35 +02:00
parent 891a004385
commit d238b9d398

View File

@ -2116,6 +2116,8 @@ get_known_coin (void *cls,
return GNUNET_NO; return GNUNET_NO;
} }
GNUNET_assert (1 == nrows); /* due to primary key */ GNUNET_assert (1 == nrows); /* due to primary key */
if (NULL == coin_info)
return GNUNET_YES;
{ {
struct TALER_PQ_ResultSpec rs[] = { struct TALER_PQ_ResultSpec rs[] = {
TALER_PQ_result_spec_rsa_public_key ("denom_pub", &coin_info->denom_pub.rsa_public_key), TALER_PQ_result_spec_rsa_public_key ("denom_pub", &coin_info->denom_pub.rsa_public_key),