Skip to content

Commit

Permalink
doc: comment on deferred deserialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaslong committed Dec 1, 2021
1 parent 3835d5e commit 63f395a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network/peers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ impl<N: Network, E: Environment> Peer<N, E> {
// Update the status of the peer.
peer.status.update(status);

// Perform the deferred non-blocking deserialization of the block header.
match block_header.deserialize().await {
Ok(block_header) => {
// Update the block header of the peer.
Expand Down

0 comments on commit 63f395a

Please sign in to comment.