diff --git a/bin/reth/src/stage/run.rs b/bin/reth/src/stage/run.rs index 573c7be404..592d0d66c9 100644 --- a/bin/reth/src/stage/run.rs +++ b/bin/reth/src/stage/run.rs @@ -233,7 +233,7 @@ impl Command { if self.commit { provider_rw.commit()?; - provider_rw = shareable_db.provider_rw().map_err(PipelineError::Interface)?; + provider_rw = factory.provider_rw().map_err(PipelineError::Interface)?; } } }