diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-13 09:20:35 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-13 09:20:35 +0200 |
commit | d238b9d3986a0fde6e42626c9b966eb70f6004ea (patch) | |
tree | 36b33735174bbac27d9a8f4add7b89ccd64172b5 /src/mintdb/plugin_mintdb_postgres.c | |
parent | 891a0043856609098e1b451fac88b2b0fd0b4ae2 (diff) | |
download | exchange-d238b9d3986a0fde6e42626c9b966eb70f6004ea.tar.xz |
fix for get_known_coin
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index c945e92df..b0fe11b59 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), |