No need to double-validate

This commit is contained in:
Ignotus Peverell 2018-07-08 18:28:56 +01:00
parent 980378eb65
commit a7cde3fe2b
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211

View file

@ -560,7 +560,6 @@ impl Chain {
let mut batch = self.store.batch()?; let mut batch = self.store.batch()?;
txhashset::extending(&mut txhashset, &mut batch, |extension| { txhashset::extending(&mut txhashset, &mut batch, |extension| {
extension.rewind(&header, &header)?; extension.rewind(&header, &header)?;
extension.validate(&header, false, true, status)?;
extension.rebuild_index()?; extension.rebuild_index()?;
Ok(()) Ok(())
})?; })?;