fix(compilation warnings) (#10649)

This commit is contained in:
Niklas Adolfsson
2019-05-13 15:10:25 +02:00
committed by GitHub
parent 42268fd1ef
commit 87699f8de0
7 changed files with 11 additions and 12 deletions

View File

@@ -273,7 +273,7 @@ impl Importer {
let (imported_blocks, import_results, invalid_blocks, imported, proposed_blocks, duration, has_more_blocks_to_import) = {
let mut imported_blocks = Vec::with_capacity(max_blocks_to_import);
let mut invalid_blocks = HashSet::new();
let mut proposed_blocks = Vec::with_capacity(max_blocks_to_import);
let proposed_blocks = Vec::with_capacity(max_blocks_to_import);
let mut import_results = Vec::with_capacity(max_blocks_to_import);
let _import_lock = self.import_lock.lock();