Skip to content

Commit 8bb691a

Browse files
committed
removed white spaces and commits
1 parent 3460e1b commit 8bb691a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/ln/channel.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,7 @@ const INITIAL_COMMITMENT_NUMBER: u64 = (1 << 48) - 1;
266266
// calling channel_id() before we're set up or things like get_outbound_funding_signed on an
267267
// inbound channel.
268268
pub struct Channel {
269-
///TODO: split limits and runtime setting here
270-
/// channel limits cant change during channel existence
271-
/// but other settings can, but they need an update broadcast before they can change.
272-
config : UserConfigurations,
269+
config : UserConfigurations,
273270
user_id: u64,
274271

275272
channel_id: [u8; 32],
@@ -543,7 +540,7 @@ impl Channel {
543540
if msg.max_accepted_htlcs > 483 {
544541
return_error_message!("max_accpted_htlcs > 483");
545542
}
546-
//optional parameter checking
543+
//optional parameter checking
547544
// MAY fail the channel if
548545
if msg.funding_satoshis < configurations.channel_limits.funding_satoshis {
549546
return_error_message!("funding satoshis is less than the user specified limit");
@@ -613,7 +610,7 @@ impl Channel {
613610

614611
let mut chan = Channel {
615612
user_id: user_id,
616-
config: (*configurations).clone(),
613+
config: (*configurations).clone(),
617614
channel_id: msg.temporary_channel_id,
618615
channel_state: (ChannelState::OurInitSent as u32) | (ChannelState::TheirInitSent as u32),
619616
channel_outbound: false,

0 commit comments

Comments
 (0)