mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
unsafe_pruning flag removed (#12385)
This commit is contained in:
committed by
GitHub
parent
af579524ac
commit
5e00d361cc
@@ -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(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user