Add db params for export-state CLI command (#10830)

This commit is contained in:
Arkadiy Paronyan
2022-02-09 23:55:26 +01:00
committed by GitHub
parent 9a31b2c341
commit 13b7c3ccdf
2 changed files with 10 additions and 2 deletions
@@ -76,7 +76,7 @@ impl ExportBlocksCmd {
C: BlockBackend<B> + UsageProvider<B> + 'static,
<<B::Header as HeaderT>::Number as FromStr>::Err: Debug,
{
if let DatabaseSource::RocksDb { ref path, .. } = database_config {
if let Some(path) = database_config.path() {
info!("DB path: {}", path.display());
}