From fefe7dfbab079553ac7f394f6ecc81ccaf206b3b Mon Sep 17 00:00:00 2001 From: trueptolemy <823220586@qq.com> Date: Mon, 6 May 2019 15:04:10 +0800 Subject: [PATCH] Gossipd: cleanup extra repeated code --- gossipd/routing.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gossipd/routing.c b/gossipd/routing.c index f7419fcb5..0870ea089 100644 --- a/gossipd/routing.c +++ b/gossipd/routing.c @@ -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,