From bd5dd46c4fb4bca4414c8d810595971ec5b03cf2 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Mon, 29 Jan 2018 16:22:23 +0000 Subject: [PATCH] peer_htlcs: Add missing assignment to hout->failcode. --- lightningd/peer_htlcs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lightningd/peer_htlcs.c b/lightningd/peer_htlcs.c index 6a883a07a..70f46731d 100644 --- a/lightningd/peer_htlcs.c +++ b/lightningd/peer_htlcs.c @@ -339,6 +339,7 @@ static void rcvd_htlc_reply(struct subd *subd, const u8 *msg, const int *fds, } if (failure_code) { + hout->failcode = (enum onion_type) failure_code; if (!hout->in) { char *localfail = tal_fmt(msg, "%s: %.*s", onion_type_name(failure_code),