mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
pay: close leak in payment_failed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
38a0ee8638
commit
f19e02eeaa
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ void payment_failed(struct lightningd *ld, const struct htlc_out *hout,
|
|||
log_info(hout->key.peer->log,
|
||||
"htlc %"PRIu64" failed with bad reply (%s)",
|
||||
hout->key.id,
|
||||
tal_hex(pc, hout->failuremsg));
|
||||
tal_hex(ltmp, hout->failuremsg));
|
||||
failcode = WIRE_PERMANENT_NODE_FAILURE;
|
||||
} else {
|
||||
failcode = fromwire_peektype(reply->msg);
|
||||
|
|
Loading…
Add table
Reference in a new issue