Skip to content

Commit 4eedd82

Browse files
committed
f - update channel_state.rs
1 parent eeb33cb commit 4eedd82

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/ln/channel_state.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use bitcoin::secp256k1::PublicKey;
1515

1616
use crate::chain::chaininterface::{FeeEstimator, LowerBoundedFeeEstimator};
1717
use crate::chain::transaction::OutPoint;
18-
use crate::ln::channel::ChannelContext;
18+
use crate::ln::channel::{ChannelContext, FundingScope, ScopedChannelContext};
1919
use crate::ln::types::ChannelId;
2020
use crate::sign::SignerProvider;
2121
use crate::types::features::{ChannelTypeFeatures, InitFeatures};
@@ -476,7 +476,8 @@ impl ChannelDetails {
476476
}
477477

478478
pub(super) fn from_channel_context<SP: Deref, F: Deref>(
479-
context: &ChannelContext<SP>, best_block_height: u32, latest_features: InitFeatures,
479+
context: ScopedChannelContext<&ChannelContext<SP>, &FundingScope, SP>,
480+
best_block_height: u32, latest_features: InitFeatures,
480481
fee_estimator: &LowerBoundedFeeEstimator<F>,
481482
) -> Self
482483
where

0 commit comments

Comments
 (0)