Skip to content

Commit ad70182

Browse files
committed
Fix background-processor doc build for futures
1 parent 969574c commit ad70182

File tree

1 file changed

+4
-1
lines changed
  • lightning-background-processor/src

1 file changed

+4
-1
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,15 +377,17 @@ pub async fn process_events_async<
377377
P: 'static + Deref + Send + Sync,
378378
Descriptor: 'static + SocketDescriptor + Send + Sync,
379379
CMH: 'static + Deref + Send + Sync,
380+
CUMH: 'static + Deref + Send + Sync,
380381
RMH: 'static + Deref + Send + Sync,
382+
OMH: 'static + Deref + Send + Sync,
381383
EH: 'static + EventHandler + Send,
382384
PS: 'static + Deref + Send,
383385
M: 'static + Deref<Target = ChainMonitor<Signer, CF, T, F, L, P>> + Send + Sync,
384386
CM: 'static + Deref<Target = ChannelManager<Signer, CW, T, K, F, L>> + Send + Sync,
385387
PGS: 'static + Deref<Target = P2PGossipSync<G, CA, L>> + Send + Sync,
386388
RGS: 'static + Deref<Target = RapidGossipSync<G, L>> + Send,
387389
UMH: 'static + Deref + Send + Sync,
388-
PM: 'static + Deref<Target = PeerManager<Descriptor, CMH, RMH, L, UMH>> + Send + Sync,
390+
PM: 'static + Deref<Target = PeerManager<Descriptor, CMH, RMH, OMH, L, UMH>> + Send + Sync,
389391
S: 'static + Deref<Target = SC> + Send + Sync,
390392
SC: WriteableScore<'a>,
391393
SleepFuture: core::future::Future<Output = bool>,
@@ -405,6 +407,7 @@ where
405407
L::Target: 'static + Logger,
406408
P::Target: 'static + Persist<Signer>,
407409
CMH::Target: 'static + ChannelMessageHandler,
410+
OMH::Target: 'static + OnionMessageHandler,
408411
RMH::Target: 'static + RoutingMessageHandler,
409412
UMH::Target: 'static + CustomMessageHandler,
410413
PS::Target: 'static + Persister<'a, Signer, CW, T, K, F, L, SC>,

0 commit comments

Comments
 (0)