From: Devrandom Date: Tue, 1 Jun 2021 16:54:30 +0000 (+0200) Subject: Expose test_process_background_events X-Git-Tag: v0.0.98~8^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=29bad58ff4fc4c9801761e3e5f71f146fb894b63;p=rust-lightning Expose test_process_background_events --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 9c1f8ecfd..8f98bc3f2 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -2321,7 +2321,8 @@ impl 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(); }