Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix rebroadcast panic #4084

Merged
merged 6 commits into from
Jan 9, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into fix-rebroadcast
  • Loading branch information
keorn committed Jan 9, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit be539a89ca847d3163b10af29b8052de9b6e6ef8
1 change: 1 addition & 0 deletions sync/src/chain.rs
Original file line number Diff line number Diff line change
@@ -2072,6 +2072,7 @@ impl ChainSync {
pub fn chain_new_blocks(&mut self, io: &mut SyncIo, _imported: &[H256], invalid: &[H256], enacted: &[H256], _retracted: &[H256], sealed: &[H256], proposed: &[Bytes]) {
let queue_info = io.chain().queue_info();
let is_syncing = self.status().is_syncing(queue_info);

if !is_syncing || !sealed.is_empty() {
trace!(target: "sync", "Propagating blocks, state={:?}", self.state);
self.propagate_latest_blocks(io, sealed);
You are viewing a condensed version of this merge commit. You can view the full changes here.