mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-02-12 14:46:26 +00:00
cleanup
This commit is contained in:
parent
7ed2c0a531
commit
0c00c7c43e
@ -88,10 +88,9 @@ proc checkEnv*(env: CircuitEnv) =
|
||||
echo "Found PTAU file: ", ptauDefPath
|
||||
|
||||
proc downloadPtau*(ptauPath, ptauUrl: string) =
|
||||
## download ptau file using curl if needed
|
||||
if not ptauPath.fileExists:
|
||||
echo "Ceremony file not found, downloading..."
|
||||
echo "PTAU file: ", ptauPath
|
||||
echo "PTAU url: ", ptauUrl
|
||||
createDir(ptauPath.parentDir)
|
||||
withDir(ptauPath.parentDir):
|
||||
let cmd = fmt"curl --output '{ptauPath}' '{ptauUrl}'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user