File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments