Commit d7ceda5
committed
Refactor peer retrieval logic in get_topology function
- Updated the handling of peer data in the get_topology function to destructure PeerDump directly, improving clarity and efficiency.
- Changed the collection of peers to use into_values for better performance and readability.1 parent 5eb90ba commit d7ceda5
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
| |||
0 commit comments