mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
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,
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user