mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
evgrd: change path for test client so it's not using the same data dir as the daemon itself ;)
This commit is contained in:
@@ -43,7 +43,7 @@ pub struct Privmsg {
|
||||
async fn amain() -> Result<()> {
|
||||
info!("Instantiating event DAG");
|
||||
let ex = std::sync::Arc::new(smol::Executor::new());
|
||||
let datastore = expand_path("~/.local/darkfi/evgrd")?;
|
||||
let datastore = expand_path("~/.local/darkfi/evgrd-test-client")?;
|
||||
fs::create_dir_all(&datastore).await?;
|
||||
let sled_db = sled::open(datastore)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user