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 @@ -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
You can’t perform that action at this time.
0 commit comments