mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 09:27:36 +00:00
Correct Monero build script
This commit is contained in:
parent
603a3f8c9f
commit
8af3a9ea51
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::{
|
||||
io::Write,
|
||||
path::Path,
|
||||
fs::{File, remove_file},
|
||||
fs::{File, DirBuilder, remove_file},
|
||||
};
|
||||
|
||||
use dalek_ff_group::EdwardsPoint;
|
||||
|
@ -33,6 +33,7 @@ fn generators(prefix: &'static str, path: &str) {
|
|||
let mut H_str = "".to_string();
|
||||
serialize(&mut H_str, &generators.H);
|
||||
|
||||
DirBuilder::new().recursive(true).create(".generators").unwrap();
|
||||
let path = Path::new(".generators").join(path);
|
||||
let _ = remove_file(&path);
|
||||
File::create(&path)
|
||||
|
|
Loading…
Reference in a new issue