Skip to content

Commit

Permalink
feat(rpc/admin): peer.kind.is_static
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa committed Jul 1, 2024
1 parent 98340af commit ad96373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc/src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ where
local_address: peer.local_addr.unwrap_or_else(|| self.network.local_addr()),
inbound: peer.direction.is_incoming(),
trusted: peer.kind.is_trusted(),
static_node: false, // TODO: add static kind
static_node: peer.kind.is_static(),
},
protocols: PeerProtocolInfo {
eth: Some(EthPeerInfo::Info(EthInfo {
Expand Down

0 comments on commit ad96373

Please sign in to comment.