From: Lucas Soriano del Pino Date: Mon, 3 Apr 2023 11:12:44 +0000 (+1000) Subject: Implement chain::Confirm without mandating any owned values X-Git-Tag: v0.0.115~43^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=beb1d9a2bd325e97d025f5626491ae12f121c3ad;p=rust-lightning Implement chain::Confirm without mandating any owned values --- diff --git a/lightning/src/chain/channelmonitor.rs b/lightning/src/chain/channelmonitor.rs index 20a9ebf66..60455cef7 100644 --- a/lightning/src/chain/channelmonitor.rs +++ b/lightning/src/chain/channelmonitor.rs @@ -3674,8 +3674,9 @@ where } } -impl chain::Confirm for (ChannelMonitor, T, F, L) +impl chain::Confirm for (M, T, F, L) where + M: Deref>, T::Target: BroadcasterInterface, F::Target: FeeEstimator, L::Target: Logger,