Commit 6e34ee68 authored by David's avatar David Committed by Andronik Ordian

Don't prune ancient state when instantiating a Client (#11270)

parent 1986c4ee
Pipeline #69957 failed with stages
in 26 minutes and 21 seconds
......@@ -800,13 +800,6 @@ impl Client {
config,
});
// prune old states.
{
let state_db = client.state_db.read().boxed_clone();
let chain = client.chain.read();
client.prune_ancient(state_db, &chain)?;
}
// ensure genesis epoch proof in the DB.
{
let chain = client.chain.read();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment