@@ -41,10 +41,7 @@ use mithril_persistence::database::repository::CardanoTransactionRepository;
4141use mithril_persistence:: database:: { ApplicationNodeType , SqlMigration } ;
4242use mithril_persistence:: sqlite:: { ConnectionBuilder , SqliteConnection , SqliteConnectionPool } ;
4343
44- use mithril_protocol_config:: {
45- http_client:: http_impl:: HttpMithrilNetworkConfigurationProvider ,
46- interface:: MithrilNetworkConfigurationProvider ,
47- } ;
44+ use mithril_protocol_config:: http_client:: http_impl:: HttpMithrilNetworkConfigurationProvider ;
4845
4946#[ cfg( feature = "future_dmq" ) ]
5047use mithril_dmq:: { DmqMessageBuilder , DmqPublisherClientPallas } ;
@@ -378,13 +375,12 @@ impl<'a> DependenciesBuilder<'a> {
378375 self . root_logger ( ) ,
379376 ) ) ;
380377 let metrics_service = Arc :: new ( MetricsService :: new ( self . root_logger ( ) ) ?) ;
381- let network_configuration_service: Arc < dyn MithrilNetworkConfigurationProvider > =
382- Arc :: new ( HttpMithrilNetworkConfigurationProvider :: new (
383- self . config . aggregator_endpoint . clone ( ) ,
384- self . config . relay_endpoint . clone ( ) ,
385- api_version_provider. clone ( ) ,
386- self . root_logger ( ) ,
387- ) ) ;
378+ let network_configuration_service = Arc :: new ( HttpMithrilNetworkConfigurationProvider :: new (
379+ self . config . aggregator_endpoint . clone ( ) ,
380+ self . config . relay_endpoint . clone ( ) ,
381+ api_version_provider. clone ( ) ,
382+ self . root_logger ( ) ,
383+ ) ) ;
388384 let preloader_activation = CardanoTransactionsPreloaderActivationSigner :: new (
389385 network_configuration_service. clone ( ) ,
390386 ) ;
0 commit comments