Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit a0502ac

Browse files
committed
Rename to 'identified_at'
1 parent 0016bab commit a0502ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bee-network/bee-gossip/src/peer/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ pub enum PeerState {
499499
#[derive(Clone, Debug, Default)]
500500
pub struct PeerMetrics {
501501
pub(crate) num_dials: usize,
502-
pub(crate) identified: Option<u64>,
502+
pub(crate) identified_at: Option<u64>,
503503
}
504504

505505
impl Default for PeerState {

bee-network/bee-gossip/src/service/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ async fn process_internal_event(
511511
// Reset dial count.
512512
m.num_dials = 0;
513513
// Update Identify timestamp.
514-
m.identified = Some(
514+
m.identified_at = Some(
515515
SystemTime::now()
516516
.duration_since(UNIX_EPOCH)
517517
.expect("system time")

0 commit comments

Comments
 (0)