summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-11 10:55:50 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-11 10:55:50 +0200
commit1ee55ea838a2b98b54a28a5f6b426496e2e36b89 (patch)
treecb3a89d98f93a9f5e68dcc533ffdcbcd59a24407 /src/exchangedb/plugin_exchangedb_postgres.c
parent30191a8ae5908464268569ff4064a87482fb25bc (diff)
downloadexchange-1ee55ea838a2b98b54a28a5f6b426496e2e36b89.tar.gz
exchange-1ee55ea838a2b98b54a28a5f6b426496e2e36b89.tar.bz2
exchange-1ee55ea838a2b98b54a28a5f6b426496e2e36b89.zip
make wirewatch properly handle (soft) failed transations
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 02ab5d7a..724bf28a 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2062,7 +2062,7 @@ postgres_reserves_in_insert (void *cls,
&reserve);
if (0 > reserve_exists)
{
- GNUNET_break (0);
+ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == reserve_exists);
return reserve_exists;
}
if ( (0 == reserve.balance.value) &&