Skip to content

Commit 3cd2daa

Browse files
committed
Restore set dir and lint
1 parent eb0c4a4 commit 3cd2daa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub use crate::sequencer::Sequencer;
2323
use crate::{
2424
client::Client,
2525
config::{
26-
config_to_file, BatchProverConfig, BitcoinConfig, DockerConfig, EmptyConfig,
26+
BatchProverConfig, BitcoinConfig, DockerConfig, EmptyConfig,
2727
FullL2NodeConfig, LightClientProverConfig, SequencerConfig,
2828
},
2929
docker::DockerEnv,
@@ -327,6 +327,7 @@ where
327327
));
328328
copy_directory(old_dir, &new_dir)?;
329329

330+
config.set_dir(new_dir);
330331
config.write_to_file()?;
331332

332333
*self.spawn_output() = Self::spawn(config, extra_args)?;

0 commit comments

Comments
 (0)