mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 07:44:57 +00:00
fixing write
This commit is contained in:
parent
e19252a524
commit
4a7cec69ea
@ -30,9 +30,8 @@ proc createAppKeystore*(path: string,
|
||||
jsonKeystore.toUgly(%keystore)
|
||||
|
||||
try:
|
||||
writeFile(path, jsonKeystore)
|
||||
# We separate keystores with separator
|
||||
writeFile(path, separator)
|
||||
writeFile(path, jsonKeystore & separator)
|
||||
# We separate keystores with separator
|
||||
ok()
|
||||
except CatchableError:
|
||||
err(AppKeystoreError(kind: KeystoreOsError,
|
||||
|
Loading…
x
Reference in New Issue
Block a user