From: Matt Corallo Date: Thu, 29 Apr 2021 16:46:20 +0000 (+0000) Subject: Drop redundant generic parameter bounds on ChainMonitor trait impls X-Git-Tag: v0.0.14~9^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c9afea2d16f6cf57c60e85ee7b766f2b2e78bfc7;p=rust-lightning Drop redundant generic parameter bounds on ChainMonitor trait impls The ChannelSigner bounds are specified both in `impl<>` and in the `where` clause, which the C bindings generator doesn't like. There is no reason to have them specified twice. --- diff --git a/lightning/src/chain/chainmonitor.rs b/lightning/src/chain/chainmonitor.rs index 0f0958ee8..5055305d3 100644 --- a/lightning/src/chain/chainmonitor.rs +++ b/lightning/src/chain/chainmonitor.rs @@ -144,7 +144,6 @@ where C::Target: chain::Filter, impl chain::Listen for ChainMonitor where - ChannelSigner: Sign, C::Target: chain::Filter, T::Target: BroadcasterInterface, F::Target: FeeEstimator, @@ -172,7 +171,6 @@ where impl chain::Confirm for ChainMonitor where - ChannelSigner: Sign, C::Target: chain::Filter, T::Target: BroadcasterInterface, F::Target: FeeEstimator,