mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-20 02:08:12 +00:00
Hotfix: 'deposits import' was ignoring its arguments in Linux builds
This commit is contained in:
parent
d83cf6e8a4
commit
4328576e18
@ -1432,7 +1432,9 @@ programMain:
|
|||||||
|
|
||||||
#]#
|
#]#
|
||||||
of DepositsCmd.`import`:
|
of DepositsCmd.`import`:
|
||||||
let validatorKeysDir = config.importedDepositsDir.get:
|
let validatorKeysDir = if config.importedDepositsDir.isSome:
|
||||||
|
config.importedDepositsDir.get
|
||||||
|
else:
|
||||||
let cwd = os.getCurrentDir()
|
let cwd = os.getCurrentDir()
|
||||||
if dirExists(cwd / "validator_keys"):
|
if dirExists(cwd / "validator_keys"):
|
||||||
InputDir(cwd / "validator_keys")
|
InputDir(cwd / "validator_keys")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user