]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Expose test_process_background_events
authorDevrandom <c1.devrandom@niftybox.net>
Tue, 1 Jun 2021 16:54:30 +0000 (18:54 +0200)
committerDevrandom <c1.devrandom@niftybox.net>
Tue, 1 Jun 2021 17:00:00 +0000 (19:00 +0200)
lightning/src/ln/channelmanager.rs

index 9c1f8ecfd97d54b474efc61eab62015238cf5e11..8f98bc3f2a5e749c36f23b26c4f5c159552114e1 100644 (file)
@@ -2321,7 +2321,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
        }
 
        #[cfg(any(test, feature = "_test_utils"))]
-       pub(crate) fn test_process_background_events(&self) {
+       /// Process background events, for functional testing
+       pub fn test_process_background_events(&self) {
                self.process_background_events();
        }