]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Merge ChainMonitor impl blocks
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 10 Sep 2020 22:59:59 +0000 (15:59 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:41:52 +0000 (22:41 -0700)
lightning/src/ln/channelmonitor.rs

index b64841c44b5bc627cf14c70b3ac841d55e523cf8..166c7fcfd07717c5d842bff0f96667e0ed552a9f 100644 (file)
@@ -261,14 +261,7 @@ impl<ChanSigner: ChannelKeys, C: Deref, T: Deref, F: Deref, L: Deref> ChainMonit
                        monitor.block_disconnected(header, disconnected_height, &*self.broadcaster, &*self.fee_estimator, &*self.logger);
                }
        }
-}
 
-impl<ChanSigner: ChannelKeys, C: Deref, T: Deref, F: Deref, L: Deref> ChainMonitor<ChanSigner, C, T, F, L>
-       where C::Target: chain::Filter,
-             T::Target: BroadcasterInterface,
-             F::Target: FeeEstimator,
-             L::Target: Logger,
-{
        /// Creates a new `ChainMonitor` used to watch on-chain activity pertaining to channels.
        ///
        /// When an optional chain source implementing [`chain::Filter`] is provided, the chain monitor