@@ -206,7 +206,7 @@ pub struct TestChainMonitor<'a> {
206206	pub  added_monitors :  Mutex < Vec < ( OutPoint ,  channelmonitor:: ChannelMonitor < TestChannelSigner > ) > > , 
207207	pub  monitor_updates :  Mutex < HashMap < ChannelId ,  Vec < channelmonitor:: ChannelMonitorUpdate > > > , 
208208	pub  latest_monitor_update_id :  Mutex < HashMap < ChannelId ,  ( OutPoint ,  u64 ,  MonitorUpdateId ) > > , 
209- 	pub  chain_monitor :  chainmonitor:: ChainMonitor < TestChannelSigner ,  & ' a  TestChainSource ,  & ' a  chaininterface:: BroadcasterInterface ,  & ' a  TestFeeEstimator ,  & ' a  TestLogger ,  & ' a  chainmonitor:: Persist < TestChannelSigner > > , 
209+ 	pub  chain_monitor :  chainmonitor:: ChainMonitor < TestChannelSigner ,  & ' a  TestChainSource ,  & ' a  dyn   chaininterface:: BroadcasterInterface ,  & ' a  TestFeeEstimator ,  & ' a  TestLogger ,  & ' a   dyn  chainmonitor:: Persist < TestChannelSigner > > , 
210210	pub  keys_manager :  & ' a  TestKeysInterface , 
211211	/// If this is set to Some(), the next update_channel call (not watch_channel) must be a 
212212 	/// ChannelForceClosed event for the given channel_id with should_broadcast set to the given 
@@ -217,7 +217,7 @@ pub struct TestChainMonitor<'a> {
217217 	pub  expect_monitor_round_trip_fail :  Mutex < Option < ChannelId > > , 
218218} 
219219impl < ' a >  TestChainMonitor < ' a >  { 
220- 	pub  fn  new ( chain_source :  Option < & ' a  TestChainSource > ,  broadcaster :  & ' a  chaininterface:: BroadcasterInterface ,  logger :  & ' a  TestLogger ,  fee_estimator :  & ' a  TestFeeEstimator ,  persister :  & ' a  chainmonitor:: Persist < TestChannelSigner > ,  keys_manager :  & ' a  TestKeysInterface )  -> Self  { 
220+ 	pub  fn  new ( chain_source :  Option < & ' a  TestChainSource > ,  broadcaster :  & ' a  dyn   chaininterface:: BroadcasterInterface ,  logger :  & ' a  TestLogger ,  fee_estimator :  & ' a  TestFeeEstimator ,  persister :  & ' a   dyn  chainmonitor:: Persist < TestChannelSigner > ,  keys_manager :  & ' a  TestKeysInterface )  -> Self  { 
221221		Self  { 
222222			added_monitors :  Mutex :: new ( Vec :: new ( ) ) , 
223223			monitor_updates :  Mutex :: new ( HashMap :: new ( ) ) , 
0 commit comments