mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
channeld: accept update_fee before funding_locked.
As long as they don't try to send commitment_signed, it's OK. Just a bit weird. Closes: #2100 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
da431333b8
commit
95e47cdac2
@ -27,6 +27,7 @@ changes.
|
||||
|
||||
- JSON API: uppercase invoices now parsed correctly (broken in 0.6.2).
|
||||
- JSON API: commands are once again read even if one hasn't responded yet (broken in 0.6.2).
|
||||
- Protocol: allow lnd to send `update_fee` before `funding_locked`.
|
||||
- pylightning: handle multiple simultanous RPC replies reliably.
|
||||
|
||||
### Security
|
||||
|
@ -1660,7 +1660,8 @@ static void peer_in(struct peer *peer, const u8 *msg)
|
||||
if (type != WIRE_FUNDING_LOCKED
|
||||
&& type != WIRE_PONG
|
||||
&& type != WIRE_SHUTDOWN
|
||||
/* lnd sends this early; it's harmless. */
|
||||
/* lnd sends these early; it's harmless. */
|
||||
&& type != WIRE_UPDATE_FEE
|
||||
&& type != WIRE_ANNOUNCEMENT_SIGNATURES) {
|
||||
peer_failed(&peer->cs,
|
||||
&peer->channel_id,
|
||||
|
Loading…
Reference in New Issue
Block a user