mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 06:55:13 +01:00
gossipd: use ctx arg in create_channel_update.
Turns out it was always `tmpctx` anyway, so this isn't a real bug right now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
2db77f5d1d
commit
b10bae1ceb
1 changed files with 1 additions and 1 deletions
|
@ -1024,7 +1024,7 @@ static u8 *create_channel_update(const tal_t *ctx,
|
|||
if (disable)
|
||||
flags |= ROUTING_FLAGS_DISABLED;
|
||||
|
||||
update = towire_channel_update(tmpctx, &dummy_sig,
|
||||
update = towire_channel_update(ctx, &dummy_sig,
|
||||
&rstate->chain_hash,
|
||||
&chan->scid,
|
||||
timestamp,
|
||||
|
|
Loading…
Add table
Reference in a new issue