diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-11 10:55:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-11 10:55:50 +0200 |
commit | 1ee55ea838a2b98b54a28a5f6b426496e2e36b89 (patch) | |
tree | cb3a89d98f93a9f5e68dcc533ffdcbcd59a24407 /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | 30191a8ae5908464268569ff4064a87482fb25bc (diff) | |
download | exchange-1ee55ea838a2b98b54a28a5f6b426496e2e36b89.tar.xz |
make wirewatch properly handle (soft) failed transations
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 02ab5d7a1..724bf28a5 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) && |