@@ -73,9 +73,9 @@ impl Writer for VecWriter {
73
73
}
74
74
}
75
75
76
- pub struct TestChannelMonitor {
76
+ struct TestChannelMonitor {
77
77
pub logger : Arc < dyn Logger > ,
78
- pub simple_monitor : Arc < channelmonitor:: SimpleManyChannelMonitor < OutPoint , EnforcingChannelKeys , Arc < BroadcasterInterface > , Arc < FeeEstimator > > > ,
78
+ pub simple_monitor : Arc < channelmonitor:: SimpleManyChannelMonitor < OutPoint , EnforcingChannelKeys , Arc < TestBroadcaster > , Arc < FuzzEstimator > > > ,
79
79
pub update_ret : Mutex < Result < ( ) , channelmonitor:: ChannelMonitorUpdateErr > > ,
80
80
// If we reload a node with an old copy of ChannelMonitors, the ChannelManager deserialization
81
81
// logic will automatically force-close our channels for us (as we don't have an up-to-date
@@ -86,7 +86,7 @@ pub struct TestChannelMonitor {
86
86
pub should_update_manager : atomic:: AtomicBool ,
87
87
}
88
88
impl TestChannelMonitor {
89
- pub fn new ( chain_monitor : Arc < dyn chaininterface:: ChainWatchInterface > , broadcaster : Arc < dyn chaininterface :: BroadcasterInterface > , logger : Arc < dyn Logger > , feeest : Arc < FeeEstimator > ) -> Self {
89
+ pub fn new ( chain_monitor : Arc < dyn chaininterface:: ChainWatchInterface > , broadcaster : Arc < TestBroadcaster > , logger : Arc < dyn Logger > , feeest : Arc < FuzzEstimator > ) -> Self {
90
90
Self {
91
91
simple_monitor : Arc :: new ( channelmonitor:: SimpleManyChannelMonitor :: new ( chain_monitor, broadcaster, logger. clone ( ) , feeest) ) ,
92
92
logger,
0 commit comments