Skip to content

Commit fdeb9ce

Browse files
committed
f - remove extra impl blocks
1 parent 89dfa82 commit fdeb9ce

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
@@ -1559,6 +1559,10 @@ impl FundingScope {
15591559
pub fn get_value_satoshis(&self) -> u64 {
15601560
self.channel_value_satoshis
15611561
}
1562+
1563+
pub(crate) fn get_value_to_self_msat(&self) -> u64 {
1564+
self.value_to_self_msat
1565+
}
15621566
}
15631567

15641568
/// Contains everything about the channel including state, and various flags.
@@ -2808,15 +2812,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
28082812

28092813
Ok((funding, channel_context))
28102814
}
2811-
}
2812-
2813-
impl FundingScope {
2814-
pub(crate) fn get_value_to_self_msat(&self) -> u64 {
2815-
self.value_to_self_msat
2816-
}
2817-
}
28182815

2819-
impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
28202816
/// Allowed in any state (including after shutdown)
28212817
pub fn get_update_time_counter(&self) -> u32 {
28222818
self.update_time_counter

0 commit comments

Comments
 (0)