Skip to content

Commit ee29bc4

Browse files
authored
Merge pull request #938 from lightning-signer/2020-06-test-background
Expose test_process_background_events
2 parents 77bdc32 + 29bad58 commit ee29bc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2321,7 +2321,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
23212321
}
23222322

23232323
#[cfg(any(test, feature = "_test_utils"))]
2324-
pub(crate) fn test_process_background_events(&self) {
2324+
/// Process background events, for functional testing
2325+
pub fn test_process_background_events(&self) {
23252326
self.process_background_events();
23262327
}
23272328

0 commit comments

Comments
 (0)