aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_melt.c2
1 files changed, 1 insertions, 1 deletions
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;