Skip to content

Commit c9afea2

Browse files
committed
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.
1 parent 2484c1a commit c9afea2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ where C::Target: chain::Filter,
144144
impl<ChannelSigner: Sign, C: Deref, T: Deref, F: Deref, L: Deref, P: Deref>
145145
chain::Listen for ChainMonitor<ChannelSigner, C, T, F, L, P>
146146
where
147-
ChannelSigner: Sign,
148147
C::Target: chain::Filter,
149148
T::Target: BroadcasterInterface,
150149
F::Target: FeeEstimator,
@@ -172,7 +171,6 @@ where
172171
impl<ChannelSigner: Sign, C: Deref, T: Deref, F: Deref, L: Deref, P: Deref>
173172
chain::Confirm for ChainMonitor<ChannelSigner, C, T, F, L, P>
174173
where
175-
ChannelSigner: Sign,
176174
C::Target: chain::Filter,
177175
T::Target: BroadcasterInterface,
178176
F::Target: FeeEstimator,

0 commit comments

Comments
 (0)