snapshot chunk and restore traits

This commit is contained in:
Robert Habermeier
2017-04-19 20:31:53 +02:00
parent 4d3f137e1e
commit 2ec3397b7d
12 changed files with 446 additions and 327 deletions

View File

@@ -894,7 +894,7 @@ impl Client {
},
};
snapshot::take_snapshot(&self.chain.read(), start_hash, db.as_hashdb(), writer, p)?;
snapshot::take_snapshot(&*self.engine, &self.chain.read(), start_hash, db.as_hashdb(), writer, p)?;
Ok(())
}