feat: show peer multiaddresses with wakuext_peers

This commit is contained in:
Richard Ramos 2022-11-24 11:05:21 -04:00 committed by RichΛrd
parent 8f13ad8f93
commit c207ee126f
2 changed files with 2 additions and 3 deletions

View File

@ -10,5 +10,4 @@ proc fromEvent*(T: type PeerStatsSignal, jsonSignal: JsonNode): PeerStatsSignal
result.signalType = SignalType.PeerStats
if jsonSignal["event"].kind != JNull:
for (node, protocols) in jsonSignal["event"]["peers"].pairs():
if protocols.getElems.len != 0:
result.peers.add(node)
result.peers.add(node)

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit 019d520e28f36b63959772f99a8ae79d654bdc90
Subproject commit ea89a41d96c2545902f2d0d8006663f00f1ee905