From b1e93c8838757ecee07f4a67c21c871173d8b37d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 10 Jan 2018 11:43:15 +1030 Subject: [PATCH] channeld: remove redundant funding_locked assignment. This makes no sense here, and yet it was in the original HTLC patch 791927936. Signed-off-by: Rusty Russell --- channeld/channel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channeld/channel.c b/channeld/channel.c index b6807dd5c..0daba29ca 100644 --- a/channeld/channel.c +++ b/channeld/channel.c @@ -1966,7 +1966,6 @@ static void handle_offer_htlc(struct peer *peer, const u8 *inmsg) &payment_hash, cltv_expiry, onion_routing_packet); enqueue_peer_msg(peer, take(msg)); - peer->funding_locked[LOCAL] = true; start_commit_timer(peer); /* Tell the master. */ msg = towire_channel_offer_htlc_reply(inmsg, peer->htlc_id,