We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdaafaf commit d2b50cfCopy full SHA for d2b50cf
lightning/src/ln/channel.rs
@@ -310,7 +310,7 @@ macro_rules! define_state_flags {
310
311
impl core::ops::Not for $flag_type {
312
type Output = Self;
313
- fn not(self) -> Self::Output { Self(!self.0) }
+ fn not(self) -> Self::Output { Self(!self.0 & Self::ALL.0) }
314
}
315
impl core::ops::BitOr for $flag_type {
316
0 commit comments