diff --git a/rp/src/exchange.rs b/rp/src/exchange.rs index 32b09ac..bbbac0d 100644 --- a/rp/src/exchange.rs +++ b/rp/src/exchange.rs @@ -25,6 +25,7 @@ pub struct ExchangePeer { /// The IPs that are allowed for this peer. pub allowed_ips: Option, /// The protocol version used by the peer. + #[serde(default)] pub protocol_version: ProtocolVersion, }