Fixed an issue doing the set_roots repeatedly for the same set. Instead doing the per chunks. (#18314)

This commit is contained in:
Lijun Wang
2021-06-30 13:29:16 -07:00
committed by GitHub
parent b08f8bd1b0
commit a67d26a1e8

View File

@ -3093,7 +3093,7 @@ impl Blockstore {
return Ok(()); return Ok(());
} }
trace!("{:?}", chunk); trace!("{:?}", chunk);
self.set_roots(&roots_to_fix)?; self.set_roots(chunk)?;
} }
} else { } else {
debug!( debug!(