fix checks

This commit is contained in:
Christian Grothoff 2020-08-29 01:25:59 +02:00
parent 5224f79591
commit d326c05e32
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -363,7 +363,7 @@ handle_melt_finished (void *cls,
mh->melt_cb (mh->melt_cb_cls,
&hr,
noreveal_index,
(0 == response_code)
(0 == hr.http_status)
? NULL
: &exchange_pub);
mh->melt_cb = NULL;