Skip to content

Commit 28aff94

Browse files
committed
fixup: Enable ChainMonitor to distribute PeerStorage
1 parent 2fbb5e5 commit 28aff94

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

lightning-background-processor/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,9 @@ pub async fn process_events_async<
737737
EventHandlerFuture: core::future::Future<Output = Result<(), ReplayEvent>>,
738738
EventHandler: Fn(Event) -> EventHandlerFuture,
739739
PS: 'static + Deref + Send,
740+
ES: 'static + Deref + Send,
740741
M: 'static
741-
+ Deref<Target = ChainMonitor<<CM::Target as AChannelManager>::Signer, CF, T, F, L, P>>
742+
+ Deref<Target = ChainMonitor<<CM::Target as AChannelManager>::Signer, CF, T, F, L, P, ES>>
742743
+ Send
743744
+ Sync,
744745
CM: 'static + Deref + Send + Sync,
@@ -765,6 +766,7 @@ where
765766
L::Target: 'static + Logger,
766767
P::Target: 'static + Persist<<CM::Target as AChannelManager>::Signer>,
767768
PS::Target: 'static + Persister<'a, CM, L, S>,
769+
ES::Target: 'static + EntropySource,
768770
CM::Target: AChannelManager + Send + Sync,
769771
OM::Target: AOnionMessenger + Send + Sync,
770772
PM::Target: APeerManager + Send + Sync,

0 commit comments

Comments
 (0)