Skip to content

Commit

Permalink
Don't prune ancient state when instantiating a Client (openethereum#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm authored and ordian committed Nov 22, 2019
1 parent 1986c4e commit 6e34ee6
Showing 1 changed file with 0 additions and 7 deletions.
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

0 comments on commit 6e34ee6

Please sign in to comment.