Skip to content

Commit

Permalink
fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed May 17, 2024
1 parent 1e5bb53 commit 365ae5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/sovereignnode/chainSimulator/chainSimulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ func NewSovereignChainSimulator(args ArgsSovereignChainSimulator) (*chainSimulat
args.ChainSimulatorArgs.CreateRatingsData = func(arg rating.RatingsDataArg) (process.RatingsInfoHandler, error) {
return rating.NewSovereignRatingsData(arg)
}
args.ChainSimulatorArgs.CreateIncomingHeaderHandler = func(config *config.NotifierConfig, dataPool dataRetriever.PoolsHolder, mainChainNotarizationStartRound uint64, runTypeComponents factory.RunTypeComponentsHolder) (process.IncomingHeaderSubscriber, error) {
args.ChainSimulatorArgs.CreateIncomingHeaderSubscriber = func(config *config.NotifierConfig, dataPool dataRetriever.PoolsHolder, mainChainNotarizationStartRound uint64, runTypeComponents factory.RunTypeComponentsHolder) (process.IncomingHeaderSubscriber, error) {
return incomingHeader.CreateIncomingHeaderProcessor(config, dataPool, mainChainNotarizationStartRound, runTypeComponents)
}
args.ChainSimulatorArgs.GetRunTypeComponents = func(argsRunType runType.ArgsRunTypeComponents) (factory.RunTypeComponentsHolder, error) {
args.ChainSimulatorArgs.CreateRunTypeComponents = func(argsRunType runType.ArgsRunTypeComponents) (factory.RunTypeComponentsHolder, error) {
return createSovereignRunTypeComponents(argsRunType, args.SovereignExtraConfig)
}
args.ChainSimulatorArgs.NodeFactory = node.NewSovereignNodeFactory()
Expand Down

0 comments on commit 365ae5a

Please sign in to comment.