Skip to content

Commit

Permalink
Update other things
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell committed Jan 13, 2021
1 parent 1c0252e commit 7c3f000
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 69 deletions.
141 changes: 95 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions blockchain/chain_sync/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ where
new_ts_tx: &Sender<(PeerId, FullTipset)>,
) {
match network_event {
NetworkEvent::HelloRequest { request, channel } => {
let source = channel.peer.clone();
NetworkEvent::HelloRequest { request, source } => {
self.network
.peer_manager()
.update_peer_head(source.clone(), None)
Expand Down
Loading

0 comments on commit 7c3f000

Please sign in to comment.