mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
routing: fix falsely flagged leak.
pending goes away on a timer, sure, but might as well use tmpctx here. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b10bae1ceb
commit
1c81486b48
@ -871,7 +871,7 @@ u8 *handle_channel_announcement(struct routing_state *rstate,
|
||||
}
|
||||
|
||||
status_trace("Received channel_announcement for channel %s",
|
||||
type_to_string(pending, struct short_channel_id,
|
||||
type_to_string(tmpctx, struct short_channel_id,
|
||||
&pending->short_channel_id));
|
||||
|
||||
/* Add both endpoints to the pending_node_map so we can stash
|
||||
|
Loading…
Reference in New Issue
Block a user