diff --git a/store/src/pmmr.rs b/store/src/pmmr.rs index d22f435cc..c6cf6b6c2 100644 --- a/store/src/pmmr.rs +++ b/store/src/pmmr.rs @@ -196,7 +196,7 @@ impl PMMRBackend { // Check for a ... (3 dot) ending version of the file - could probably be removed after mainnet let compatible_snapshot_path = PathBuf::from(leaf_snapshot_path.clone() + "..."); if compatible_snapshot_path.exists() { - LeafSet::copy_snapshot(&leaf_set_path, &compaitble_snapshot_path)?; + LeafSet::copy_snapshot(&leaf_set_path, &compatible_snapshot_path)?; } else { LeafSet::copy_snapshot(&leaf_set_path, &PathBuf::from(leaf_snapshot_path))?; }