use uint32 as peer id (#29)

This commit is contained in:
Sijie.Sun
2024-03-13 00:15:22 +08:00
committed by GitHub
parent cb0df51319
commit 0053666dfb
30 changed files with 431 additions and 406 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ impl PeerManagerRpcService {
let mut peer_infos = Vec::new();
for peer in peers {
let mut peer_info = PeerInfo::default();
peer_info.peer_id = peer.to_string();
peer_info.peer_id = peer;
if let Some(conns) = self
.peer_manager