peer_htlcs: Add missing assignment to hout->failcode.

This commit is contained in:
ZmnSCPxj 2018-01-29 16:22:23 +00:00 committed by Rusty Russell
parent b2d8efcf25
commit bd5dd46c4f

View file

@ -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),