do not NPE if encountering reserve_close for which we have no summary

This commit is contained in:
Christian Grothoff 2020-02-25 14:21:14 +01:00
parent 47e8190e9d
commit 30b24448c8
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -2006,7 +2006,7 @@ begin_transaction ()
&wa->out_wire_off); &wa->out_wire_off);
if (0 > wa->qsx) if (0 > wa->qsx)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qsx); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == wa->qsx);
global_ret = 1; global_ret = 1;
GNUNET_SCHEDULER_shutdown (); GNUNET_SCHEDULER_shutdown ();
return; return;