Skip to content

Commit

Permalink
debug disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Aug 31, 2023
1 parent e2c4511 commit 3aeda1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sync/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,7 @@ impl SyncState {
pub fn disconnected(&self, pi: PeerIndex) {
self.write_inflight_blocks().remove_by_peer(pi);
self.peers().disconnected(pi);
debug!("peer {} disconnected", pi);
}

// pub fn get_orphan_block(&self, block_hash: &Byte32) -> Option<core::BlockView> {
Expand Down

0 comments on commit 3aeda1d

Please sign in to comment.