Fix compilation issue.

This commit is contained in:
cheatfate 2020-09-22 11:27:46 +03:00 committed by zah
parent 82228fe471
commit 868ce14762
1 changed files with 4 additions and 3 deletions

View File

@ -287,9 +287,10 @@ proc init*(T: type BeaconNode,
if res.config.inProcessValidators:
res.addLocalValidators()
else:
res.vcProcess = startProcess(getAppDir() & "/signing_process".addFileExt(ExeExt),
getCurrentDir(), [$res.config.validatorsDir,
$res.config.secretsDir])
let cmd = getAppDir() / "signing_process".addFileExt(ExeExt)
let args = [$res.config.validatorsDir, $res.config.secretsDir]
let workdir = io2.getCurrentDir().tryGet()
res.vcProcess = startProcess(cmd, workdir, args)
res.addRemoteValidators()
# This merely configures the BeaconSync