mirror of
https://github.com/runcitadel/core.git
synced 2024-11-12 00:39:53 +00:00
Fix: Actually check for seed file in .. dir
This commit is contained in:
parent
d94d917a4a
commit
23b5bf1d02
|
@ -10,7 +10,7 @@ nodeRoot = os.path.join(scriptDir, "..", "..")
|
|||
|
||||
def deriveEntropy(identifier: str):
|
||||
seedFile = os.path.join(nodeRoot, "db", "citadel-seed", "seed")
|
||||
alternativeSeedFile = os.path.join(nodeRoot, "db", "citadel-seed", "seed")
|
||||
alternativeSeedFile = os.path.join(nodeRoot, "..", "db", "citadel-seed", "seed")
|
||||
if not os.path.isfile(seedFile):
|
||||
if os.path.isfile(alternativeSeedFile):
|
||||
seedFile = alternativeSeedFile
|
||||
|
|
Loading…
Reference in New Issue
Block a user