This commit is contained in:
Christian Grothoff 2021-04-14 14:48:28 +02:00
parent 57cb2d1ca6
commit b7ef3cfd36
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -4703,9 +4703,9 @@ postgres_ensure_coin_known (void *cls,
switch (qs) switch (qs)
{ {
case GNUNET_DB_STATUS_HARD_ERROR: case GNUNET_DB_STATUS_HARD_ERROR:
return TALER_EXCHANGEDB_CKS_SOFT_FAIL;
case GNUNET_DB_STATUS_SOFT_ERROR:
return TALER_EXCHANGEDB_CKS_HARD_FAIL; return TALER_EXCHANGEDB_CKS_HARD_FAIL;
case GNUNET_DB_STATUS_SOFT_ERROR:
return TALER_EXCHANGEDB_CKS_SOFT_FAIL;
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT: case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
if (0 == GNUNET_memcmp (&denom_pub_hash, if (0 == GNUNET_memcmp (&denom_pub_hash,
&coin->denom_pub_hash)) &coin->denom_pub_hash))