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 5d5aaac commit 2acb37eCopy full SHA for 2acb37e
lightning/src/ln/channel.rs
@@ -305,7 +305,7 @@ macro_rules! define_state_flags {
305
306
impl core::ops::Not for $flag_type {
307
type Output = Self;
308
- fn not(self) -> Self::Output { Self(!self.0) }
+ fn not(self) -> Self::Output { Self(!self.0 & Self::ALL.0) }
309
}
310
impl core::ops::BitOr for $flag_type {
311
0 commit comments