fix(db): Dont compress DupSort SubKey (#594)

* bug(db): Dont compress DupSort SubKey

* unwrap or default config, Added notes

* fmt empty lines
This commit is contained in:
rakita
2022-12-25 01:13:03 +01:00
committed by GitHub
parent 5affa67805
commit 19a618e3a4
4 changed files with 49 additions and 7 deletions

View File

@ -84,7 +84,7 @@ impl Command {
/// Execute `node` command
// TODO: RPC
pub async fn execute(&self) -> eyre::Result<()> {
let config: Config = confy::load_path(&self.config)?;
let config: Config = confy::load_path(&self.config).unwrap_or_default();
info!("reth {} starting", crate_version!());
info!("Opening database at {}", &self.db);