From c9afea2d16f6cf57c60e85ee7b766f2b2e78bfc7 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 29 Apr 2021 16:46:20 +0000 Subject: [PATCH] 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. --- lightning/src/chain/chainmonitor.rs | 2 -- 1 file changed, 2 deletions(-) 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, -- 2.39.5