File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
mithril-aggregator/src/dependency_injection Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ use tokio::{
32
32
use warp:: Filter ;
33
33
34
34
use crate :: {
35
- artifact_builder:: { ArtifactBuilderService , DummyArtifactBuilder } ,
35
+ artifact_builder:: { ArtifactBuilderService , MithrilStakeDistributionArtifactBuilder } ,
36
36
certifier_service:: { CertifierService , MithrilCertifierService } ,
37
37
configuration:: { ExecutionEnvironment , LIST_SNAPSHOTS_MAX_ITEMS } ,
38
38
database:: provider:: {
@@ -897,9 +897,12 @@ impl DependenciesBuilder {
897
897
}
898
898
899
899
async fn build_artifact_builder_service ( & mut self ) -> Result < Arc < ArtifactBuilderService > > {
900
- let dummy_artifact_builder = DummyArtifactBuilder :: new ( ) ;
901
- let artifact_builder_service =
902
- Arc :: new ( ArtifactBuilderService :: new ( dummy_artifact_builder) ) ;
900
+ let multi_signer = self . get_multi_signer ( ) . await ?;
901
+ let mithril_stake_distribution_artifact_builder =
902
+ Arc :: new ( MithrilStakeDistributionArtifactBuilder :: new ( multi_signer) ) ;
903
+ let artifact_builder_service = Arc :: new ( ArtifactBuilderService :: new (
904
+ mithril_stake_distribution_artifact_builder,
905
+ ) ) ;
903
906
904
907
Ok ( artifact_builder_service)
905
908
}
You can’t perform that action at this time.
0 commit comments