Skip to content

Commit

Permalink
fixes lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Jun 21, 2023
1 parent 2345f24 commit 704850a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zebra-network/src/address_book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ pub struct AddressBook {
/// [`OrderedMap`] sorts in descending order.
by_addr: OrderedMap<PeerSocketAddr, MetaAddr, Reverse<MetaAddr>>,

/// The address with a last_connection_state of [`Responded`] and the most recent `last_response` time by IP.
/// The address with a last_connection_state of [`PeerAddrState::Responded`] and
/// the most recent `last_response` time by IP.
most_recent_by_ip: HashMap<IpAddr, MetaAddr>,

/// The local listener address.
Expand Down

0 comments on commit 704850a

Please sign in to comment.