Refactor: changed PeerInfo to Peer_Info in autonat.proto to avoid conflicts

This commit is contained in:
sumanjeet0012@gmail.com
2025-05-04 17:41:44 +05:30
committed by Paul Robinson
parent 627c2cfe8e
commit d55c57769f

View File

@ -32,17 +32,17 @@ message Message {
// Dial request // Dial request
message DialRequest { message DialRequest {
repeated PeerInfo peers = 1; repeated Peer_Info peers = 1;
} }
// Dial response // Dial response
message DialResponse { message DialResponse {
Status status = 1; Status status = 1;
repeated PeerInfo peers = 2; repeated Peer_Info peers = 2;
} }
// Peer information // Peer information
message PeerInfo { message Peer_Info {
bytes id = 1; bytes id = 1;
repeated bytes addrs = 2; repeated bytes addrs = 2;
bool success = 3; bool success = 3;