From d326c05e323501bc7917e0454d77d6e0e7938259 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 29 Aug 2020 01:25:59 +0200 Subject: [PATCH] fix checks --- src/lib/exchange_api_melt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/exchange_api_melt.c b/src/lib/exchange_api_melt.c index 989c6501a..72a90dc33 100644 --- a/src/lib/exchange_api_melt.c +++ b/src/lib/exchange_api_melt.c @@ -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;