Skip to content

Commit bfc2f67

Browse files
committed
f - remove extra impl blocks
1 parent 67b88a3 commit bfc2f67

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

lightning/src/ln/channel.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,10 @@ impl FundingScope {
15801580
pub fn get_value_satoshis(&self) -> u64 {
15811581
self.channel_value_satoshis
15821582
}
1583+
1584+
pub(crate) fn get_value_to_self_msat(&self) -> u64 {
1585+
self.value_to_self_msat
1586+
}
15831587
}
15841588

15851589
/// Contains everything about the channel including state, and various flags.
@@ -2829,15 +2833,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
28292833

28302834
Ok((funding, channel_context))
28312835
}
2832-
}
2833-
2834-
impl FundingScope {
2835-
pub(crate) fn get_value_to_self_msat(&self) -> u64 {
2836-
self.value_to_self_msat
2837-
}
2838-
}
28392836

2840-
impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
28412837
/// Allowed in any state (including after shutdown)
28422838
pub fn get_update_time_counter(&self) -> u32 {
28432839
self.update_time_counter

0 commit comments

Comments
 (0)