mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-05 20:40:02 -08:00
fix(rp): Protocol version field should be optional
This commit is contained in:
@@ -25,6 +25,7 @@ pub struct ExchangePeer {
|
||||
/// The IPs that are allowed for this peer.
|
||||
pub allowed_ips: Option<String>,
|
||||
/// The protocol version used by the peer.
|
||||
#[serde(default)]
|
||||
pub protocol_version: ProtocolVersion,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user