fix(rp): Protocol version field should be optional

This commit is contained in:
Karolin Varner
2025-04-08 23:27:03 +02:00
parent ceff8b711a
commit 54fc904c15

View File

@@ -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,
}