Skip to content

Commit b902cc7

Browse files
committed
Remove unnecessary lifetime bound
1 parent 8967d20 commit b902cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning-block-sync/src/init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
123123
/// [`SpvClient`]: crate::SpvClient
124124
/// [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
125125
/// [`ChannelMonitor`]: lightning::chain::channelmonitor::ChannelMonitor
126-
pub async fn synchronize_listeners<'a, B: Deref + Sized + Send + Sync, C: Cache, L: chain::Listen + ?Sized>(
126+
pub async fn synchronize_listeners<B: Deref + Sized + Send + Sync, C: Cache, L: chain::Listen + ?Sized>(
127127
block_source: B,
128128
network: Network,
129129
header_cache: &mut C,
130-
mut chain_listeners: Vec<(BlockHash, &'a L)>,
130+
mut chain_listeners: Vec<(BlockHash, &L)>,
131131
) -> BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
132132
let best_header = validate_best_block_header(&*block_source).await?;
133133

0 commit comments

Comments
 (0)