From 1360fccd7143937278f880497634eb284da834ce Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 17 Aug 2018 13:22:44 -0400 Subject: [PATCH] Ignore unknown channel flags as required in BOLT 2 --- src/ln/channel.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ln/channel.rs b/src/ln/channel.rs index d7729a1ec..b2164696f 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -518,9 +518,6 @@ impl Channel { if msg.max_accepted_htlcs > 483 { return_error_message!("max_accpted_htlcs > 483"); } - if (msg.channel_flags & 254) != 0 { - return Err(HandleError{err: "Unknown channel flags", action: Some(msgs::ErrorAction::IgnoreError) }); - } // Convert things into internal flags and prep our state: -- 2.39.5