mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-11 21:40:06 +00:00
Handle Lodestar's new agent string (#3620)
## Issue Addressed #3561 ## Proposed Changes Recognize Lodestars new agent string and appropriately count these peers as lodestar peers.
This commit is contained in:
parent
01b6bf7a2d
commit
27bb9ff07d
@ -181,7 +181,7 @@ fn client_from_agent_version(agent_version: &str) -> (ClientKind, String, String
|
||||
}
|
||||
(kind, version, os_version)
|
||||
}
|
||||
Some("js-libp2p") => {
|
||||
Some("js-libp2p") | Some("lodestar") => {
|
||||
let kind = ClientKind::Lodestar;
|
||||
let mut version = String::from("unknown");
|
||||
let mut os_version = version.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user