]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Implement chain::Confirm without mandating any owned values
authorLucas Soriano del Pino <lucas_soriano@fastmail.com>
Mon, 3 Apr 2023 11:12:44 +0000 (21:12 +1000)
committerLucas Soriano del Pino <lucas_soriano@fastmail.com>
Mon, 3 Apr 2023 11:12:44 +0000 (21:12 +1000)
lightning/src/chain/channelmonitor.rs

index 20a9ebf66e0980baeabaa214c2af12ccea11ecb6..60455cef7caa744ee7343e87adb7f9db29f43728 100644 (file)
@@ -3674,8 +3674,9 @@ where
        }
 }
 
-impl<Signer: WriteableEcdsaChannelSigner, T: Deref, F: Deref, L: Deref> chain::Confirm for (ChannelMonitor<Signer>, T, F, L)
+impl<Signer: WriteableEcdsaChannelSigner, M, T: Deref, F: Deref, L: Deref> chain::Confirm for (M, T, F, L)
 where
+       M: Deref<Target = ChannelMonitor<Signer>>,
        T::Target: BroadcasterInterface,
        F::Target: FeeEstimator,
        L::Target: Logger,