Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

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

Merged
merged 1 commit into from
Nov 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions ethcore/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down