fix informant

This commit is contained in:
keorn
2016-12-08 21:13:32 +01:00
parent dca752e9bb
commit 9ecb07434f
2 changed files with 4 additions and 5 deletions

View File

@@ -414,8 +414,8 @@ impl Client {
}
if let Ok(closed_block) = self.check_and_close_block(&block) {
if self.engine.is_proposal(&block.header) {
self.block_queue.mark_as_good(&[header.hash()]);
proposed_blocks.push(block.bytes);
invalid_blocks.insert(header.hash());
} else {
imported_blocks.push(header.hash());