Update to latest libp2p

This commit is contained in:
Age Manning
2019-04-03 17:13:55 +11:00
parent 7920f8098f
commit 2d710f19fc
2 changed files with 6 additions and 1 deletions

View File

@@ -533,6 +533,11 @@ impl<T: BeaconChainTypes> SimpleSync<T> {
// Add this block to the queue
self.import_queue
.enqueue_full_blocks(vec![block], peer_id.clone());
trace!(
self.log,
"NewGossipBlock";
"peer" => format!("{:?}", peer_id),
);
// Unless the parent is in the queue, request the parent block from the peer.
//