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 {
1580
1580
pub fn get_value_satoshis(&self) -> u64 {
1581
1581
self.channel_value_satoshis
1582
1582
}
1583
+
1584
+ pub(crate) fn get_value_to_self_msat(&self) -> u64 {
1585
+ self.value_to_self_msat
1586
+ }
1583
1587
}
1584
1588
1585
1589
/// Contains everything about the channel including state, and various flags.
@@ -2829,15 +2833,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
2829
2833
2830
2834
Ok((funding, channel_context))
2831
2835
}
2832
- }
2833
-
2834
- impl FundingScope {
2835
- pub(crate) fn get_value_to_self_msat(&self) -> u64 {
2836
- self.value_to_self_msat
2837
- }
2838
- }
2839
2836
2840
- impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
2841
2837
/// Allowed in any state (including after shutdown)
2842
2838
pub fn get_update_time_counter(&self) -> u32 {
2843
2839
self.update_time_counter
You can’t perform that action at this time.
0 commit comments