[ethcore cleanup]: various unrelated fixes from #11493 (#11507)

* [cleanup]: various unrelated fixes from `#11493`

* [revert]: too verbose logging `seal`

* fix nit: don't mix from() and into()
This commit is contained in:
Niklas Adolfsson
2020-02-25 15:32:13 +01:00
committed by GitHub
parent ad56eb48b5
commit cd7018007e
12 changed files with 153 additions and 146 deletions

View File

@@ -577,7 +577,7 @@ impl BlockDownloader {
},
Ok(_) => {
trace_sync!(self, "Block queued {:?}", h);
imported.insert(h.clone());
imported.insert(h);
self.block_imported(&h, number, &parent);
},
Err(EthcoreError::Block(BlockError::UnknownParent(_))) if allow_out_of_order => {