File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,8 +207,8 @@ enum ChannelState {
207
207
/// to drop us, but we store this anyway.
208
208
ShutdownComplete = 4096 ,
209
209
}
210
- const BOTH_SIDES_SHUTDOWN_MASK : u32 = ( ChannelState :: LocalShutdownSent as u32 | ChannelState :: RemoteShutdownSent as u32 ) ;
211
- const MULTI_STATE_FLAGS : u32 = ( BOTH_SIDES_SHUTDOWN_MASK | ChannelState :: PeerDisconnected as u32 | ChannelState :: MonitorUpdateFailed as u32 ) ;
210
+ const BOTH_SIDES_SHUTDOWN_MASK : u32 = ChannelState :: LocalShutdownSent as u32 | ChannelState :: RemoteShutdownSent as u32 ;
211
+ const MULTI_STATE_FLAGS : u32 = BOTH_SIDES_SHUTDOWN_MASK | ChannelState :: PeerDisconnected as u32 | ChannelState :: MonitorUpdateFailed as u32 ;
212
212
213
213
const INITIAL_COMMITMENT_NUMBER : u64 = ( 1 << 48 ) - 1 ;
214
214
@@ -382,7 +382,7 @@ pub const COMMITMENT_TX_WEIGHT_PER_HTLC: u64 = 172;
382
382
383
383
/// Maximmum `funding_satoshis` value, according to the BOLT #2 specification
384
384
/// it's 2^24.
385
- pub const MAX_FUNDING_SATOSHIS : u64 = ( 1 << 24 ) ;
385
+ pub const MAX_FUNDING_SATOSHIS : u64 = 1 << 24 ;
386
386
387
387
/// Used to return a simple Error back to ChannelManager. Will get converted to a
388
388
/// msgs::ErrorAction::SendErrorMessage or msgs::ErrorAction::IgnoreError as appropriate with our
You can’t perform that action at this time.
0 commit comments