File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ pub struct ChannelMonitor<Signer: EcdsaChannelSigner> {
854
854
pub ( super ) inner : Mutex < ChannelMonitorImpl < Signer > > ,
855
855
}
856
856
857
- impl < Signer : EcdsaChannelSigner > Clone for ChannelMonitor < Signer > where Signer : Clone {
857
+ impl < Signer : EcdsaChannelSigner > Clone for ChannelMonitor < Signer > {
858
858
fn clone ( & self ) -> Self {
859
859
let inner = self . inner . lock ( ) . unwrap ( ) . clone ( ) ;
860
860
ChannelMonitor :: from_impl ( inner)
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ use crate::sign::{ChannelSigner, HTLCDescriptor};
33
33
///
34
34
/// [`ChannelManager::signer_unblocked`]: crate::ln::channelmanager::ChannelManager::signer_unblocked
35
35
/// [`ChainMonitor::signer_unblocked`]: crate::chain::chainmonitor::ChainMonitor::signer_unblocked
36
- pub trait EcdsaChannelSigner : ChannelSigner {
36
+ pub trait EcdsaChannelSigner : ChannelSigner + Clone {
37
37
/// Create a signature for a counterparty's commitment transaction and associated HTLC transactions.
38
38
///
39
39
/// Policy checks should be implemented in this function, including checking the amount
Original file line number Diff line number Diff line change @@ -2510,11 +2510,11 @@ impl EntropySource for RandomBytes {
2510
2510
}
2511
2511
}
2512
2512
2513
- // Ensure that EcdsaChannelSigner can have a vtable
2514
- #[ test]
2513
+ // Ensure that EcdsaChannelSigner can have a vtable - not required in bindings
2514
+ /* #[test]
2515
2515
pub fn dyn_sign() {
2516
2516
let _signer: Box<dyn EcdsaChannelSigner>;
2517
- }
2517
+ }*/
2518
2518
2519
2519
#[ cfg( ldk_bench) ]
2520
2520
pub mod benches {
You can’t perform that action at this time.
0 commit comments