Fix compilation issue.
This commit is contained in:
parent
82228fe471
commit
868ce14762
|
@ -287,9 +287,10 @@ proc init*(T: type BeaconNode,
|
||||||
if res.config.inProcessValidators:
|
if res.config.inProcessValidators:
|
||||||
res.addLocalValidators()
|
res.addLocalValidators()
|
||||||
else:
|
else:
|
||||||
res.vcProcess = startProcess(getAppDir() & "/signing_process".addFileExt(ExeExt),
|
let cmd = getAppDir() / "signing_process".addFileExt(ExeExt)
|
||||||
getCurrentDir(), [$res.config.validatorsDir,
|
let args = [$res.config.validatorsDir, $res.config.secretsDir]
|
||||||
$res.config.secretsDir])
|
let workdir = io2.getCurrentDir().tryGet()
|
||||||
|
res.vcProcess = startProcess(cmd, workdir, args)
|
||||||
res.addRemoteValidators()
|
res.addRemoteValidators()
|
||||||
|
|
||||||
# This merely configures the BeaconSync
|
# This merely configures the BeaconSync
|
||||||
|
|
Loading…
Reference in New Issue