Move `Channel::next_*_commit_tx_fee_msat` methods to `ChannelContext` impl
[rust-lightning] / lightning / src / ln / channelmanager.rs
index af51595650ab9a1b586331ab18719e6a5d3023c4..7bf437ee369a1b83c939158c54a58da79b3f3afe 100644 (file)
@@ -1471,7 +1471,7 @@ impl ChannelDetails {
 
                let balance = channel.get_available_balances();
                let (to_remote_reserve_satoshis, to_self_reserve_satoshis) =
-                       channel.get_holder_counterparty_selected_channel_reserve_satoshis();
+                       channel.context.get_holder_counterparty_selected_channel_reserve_satoshis();
                ChannelDetails {
                        channel_id: channel.context.channel_id(),
                        counterparty: ChannelCounterparty {