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:
parent
fdbf2f41b4
commit
b1e93c8838
|
@ -1966,7 +1966,6 @@ static void handle_offer_htlc(struct peer *peer, const u8 *inmsg)
|
||||||
&payment_hash, cltv_expiry,
|
&payment_hash, cltv_expiry,
|
||||||
onion_routing_packet);
|
onion_routing_packet);
|
||||||
enqueue_peer_msg(peer, take(msg));
|
enqueue_peer_msg(peer, take(msg));
|
||||||
peer->funding_locked[LOCAL] = true;
|
|
||||||
start_commit_timer(peer);
|
start_commit_timer(peer);
|
||||||
/* Tell the master. */
|
/* Tell the master. */
|
||||||
msg = towire_channel_offer_htlc_reply(inmsg, peer->htlc_id,
|
msg = towire_channel_offer_htlc_reply(inmsg, peer->htlc_id,
|
||||||
|
|
Loading…
Reference in New Issue