@@ -73,9 +73,9 @@ impl Writer for VecWriter {
7373 }
7474}
7575
76- pub struct TestChannelMonitor {
76+ struct TestChannelMonitor {
7777 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 > > > ,
7979 pub update_ret : Mutex < Result < ( ) , channelmonitor:: ChannelMonitorUpdateErr > > ,
8080 // If we reload a node with an old copy of ChannelMonitors, the ChannelManager deserialization
8181 // 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 {
8686 pub should_update_manager : atomic:: AtomicBool ,
8787}
8888impl 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 {
9090 Self {
9191 simple_monitor : Arc :: new ( channelmonitor:: SimpleManyChannelMonitor :: new ( chain_monitor, broadcaster, logger. clone ( ) , feeest) ) ,
9292 logger,
0 commit comments