Skip to content

Commit

Permalink
Merge pull request #564 from subspace/special-case-purge-of-gemini-1a
Browse files Browse the repository at this point in the history
Add special case for cleaning up Gemini 1a data on purging
  • Loading branch information
nazar-pc authored Jun 8, 2022
2 parents 93bfaa3 + 9b6ef50 commit eaa4aeb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/subspace-node/src/bin/subspace-node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ fn main() -> Result<(), Error> {
.join("chains")
.join("subspace_test"),
);
let _ = std::fs::remove_dir_all(
base_dir
.join("subspace-node")
.join("chains")
.join("subspace_gemini_1a"),
);
}

let runner = cli.create_runner(&cmd.base)?;
Expand Down

0 comments on commit eaa4aeb

Please sign in to comment.