From 4259a63fc322f384a537ad49610958c9e20cbd66 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 21 May 2025 12:48:59 +0200 Subject: [PATCH] Make `ChangeDestinationSourceSyncWrapper` `pub` The idea of the wrapper is that you'd use it to wrap your `ChangeDestinationSourceSync` instance. To be able to do that outside of `lightning`, we'll need to make it `pub`. --- lightning/src/sign/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lightning/src/sign/mod.rs b/lightning/src/sign/mod.rs index f35a407634a..871f60ecac4 100644 --- a/lightning/src/sign/mod.rs +++ b/lightning/src/sign/mod.rs @@ -996,12 +996,7 @@ pub trait ChangeDestinationSourceSync { } /// A wrapper around [`ChangeDestinationSource`] to allow for async calls. -#[cfg(any(test, feature = "_test_utils"))] pub struct ChangeDestinationSourceSyncWrapper(T) -where - T::Target: ChangeDestinationSourceSync; -#[cfg(not(any(test, feature = "_test_utils")))] -pub(crate) struct ChangeDestinationSourceSyncWrapper(T) where T::Target: ChangeDestinationSourceSync;