mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +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:
committed by
Christian Decker
parent
2db77f5d1d
commit
b10bae1ceb
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user