aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/plugin_mintdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-14 01:04:02 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-14 01:04:02 +0200
commit911dac83cd65a53233ddd132918320a0167bd67f (patch)
tree9a69413871f15365d12d6e82408fef35fa3a3a7b /src/mintdb/plugin_mintdb_postgres.c
parentfeb001f478dd13d714b33d259781ad26b7177ffe (diff)
parentb456400ab2a040063e6f85553c918908b3699d73 (diff)
Merge branch 'master' of ssh://taler.net:/var/git/mint
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index c945e92d..b0fe11b5 100644
--- 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),