fixing tests

This commit is contained in:
Anton Evangelatov 2022-02-03 14:43:20 +01:00
parent c3d41d4e17
commit 20fc5ffa38

View File

@ -541,6 +541,12 @@ func (n *Ensemble) Start() *Ensemble {
node.Override(new(stmgr.UpgradeSchedule), n.options.upgradeSchedule),
}
if m.options.subsystems.Has(SMarkets) {
opts = append(opts,
node.Override(new(*modules.IdxProvHost), node.MockHost(n.mn)),
)
}
// append any node builder options.
opts = append(opts, m.options.extraNodeOpts...)