Importing transactions from hashset. Notifying about every block

This commit is contained in:
Tomasz Drwięga
2016-03-15 23:01:36 +01:00
parent eac73a4e54
commit 188e325b20
3 changed files with 34 additions and 12 deletions

View File

@@ -317,7 +317,7 @@ impl<V> Client<V> where V: Verifier {
}
{
if !imported_blocks.is_empty() && self.block_queue.queue_info().is_empty() {
if !imported_blocks.is_empty() {
let (enacted, retracted) = self.calculate_enacted_retracted(import_results);
io.send(NetworkIoMessage::User(SyncMessage::NewChainBlocks {
imported: imported_blocks,