Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Propagate new block messages to other clients in a separate thread, n…
Browse files Browse the repository at this point in the history
…ot the netty processing thread. (#928)
  • Loading branch information
ajsutton authored Feb 20, 2019
1 parent 0cf066d commit 1286ad3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ CompletableFuture<Block> importOrSavePendingBlock(final Block block) {
return CompletableFuture.completedFuture(block);
}

validateAndBroadcastBlock(block);
ethContext.getScheduler().scheduleSyncWorkerTask(() -> validateAndBroadcastBlock(block));

// Import block
final PersistBlockTask<C> importTask =
Expand Down

0 comments on commit 1286ad3

Please sign in to comment.