mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
peer_htlcs: Add missing assignment to hout->failcode.
This commit is contained in:
parent
b2d8efcf25
commit
bd5dd46c4f
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue