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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-01-10 11:43:15 +10:30 committed by Christian Decker
parent fdbf2f41b4
commit b1e93c8838
1 changed files with 0 additions and 1 deletions

View File

@ -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,