summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-14 14:48:28 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-14 14:48:28 +0200
commitb7ef3cfd36f40c058bc1fefaa67e251a7cd16399 (patch)
tree5b082c200b8adc53b634b2f9fc02d735b5dd0907 /src
parent57cb2d1ca62329c9b0c59aa6424bab7d29e66c07 (diff)
downloadexchange-b7ef3cfd36f40c058bc1fefaa67e251a7cd16399.tar.gz
exchange-b7ef3cfd36f40c058bc1fefaa67e251a7cd16399.tar.bz2
exchange-b7ef3cfd36f40c058bc1fefaa67e251a7cd16399.zip
fix #6845
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index f203e60f7..e4618262a 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -4703,9 +4703,9 @@ postgres_ensure_coin_known (void *cls,
switch (qs)
{
case GNUNET_DB_STATUS_HARD_ERROR:
- return TALER_EXCHANGEDB_CKS_SOFT_FAIL;
- case GNUNET_DB_STATUS_SOFT_ERROR:
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:
if (0 == GNUNET_memcmp (&denom_pub_hash,
&coin->denom_pub_hash))