mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
Gossipd: cleanup extra repeated code
This commit is contained in:
parent
bc5dbb6a80
commit
fefe7dfbab
@ -1362,9 +1362,6 @@ bool routing_add_channel_announcement(struct routing_state *rstate,
|
||||
if (taken(msg))
|
||||
tal_steal(tmpctx, msg);
|
||||
|
||||
if (taken(msg))
|
||||
tal_steal(tmpctx, msg);
|
||||
|
||||
if (!fromwire_channel_announcement(
|
||||
tmpctx, msg, &node_signature_1, &node_signature_2,
|
||||
&bitcoin_signature_1, &bitcoin_signature_2, &features, &chain_hash,
|
||||
|
Loading…
Reference in New Issue
Block a user