Browse Source

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>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
b10bae1ceb
  1. 2
      gossipd/gossip.c

2
gossipd/gossip.c

@ -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…
Cancel
Save