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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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