aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs
index 306b6a2..2af6549 100644
--- a/src/api/stats.rs
+++ b/src/api/stats.rs
@@ -377,7 +377,7 @@ pub(crate) async fn collect(state: &AppState, list: &PeerListResponse) -> StatsR
blob_requests_dropped: node.blob_requests_dropped,
},
topology: TopologyStats {
- k: state.neighbours_k,
+ k: topology::k(state),
view: topology::summary(state).map(|s| TopologyView {
members: s.members,
reachable: s.reachable,