mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +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`:
|
||||
let validatorKeysDir = config.importedDepositsDir.get:
|
||||
let validatorKeysDir = if config.importedDepositsDir.isSome:
|
||||
config.importedDepositsDir.get
|
||||
else:
|
||||
let cwd = os.getCurrentDir()
|
||||
if dirExists(cwd / "validator_keys"):
|
||||
InputDir(cwd / "validator_keys")
|
||||
|
Loading…
x
Reference in New Issue
Block a user