unsafe_pruning flag removed (#12385)

This commit is contained in:
Michal Kucharczyk
2022-09-30 12:06:46 +02:00
committed by GitHub
parent af579524ac
commit 5e00d361cc
2 changed files with 0 additions and 23 deletions
-11
View File
@@ -659,17 +659,6 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
}
}
if self.import_params().map_or(false, |p| {
#[allow(deprecated)]
p.unsafe_pruning
}) {
// according to https://github.com/substrate/issues/8103;
warn!(
"WARNING: \"--unsafe-pruning\" CLI-flag is deprecated and has no effect. \
In future builds it will be removed, and providing this flag will lead to an error."
);
}
Ok(())
}
}