diff --git a/massa-models/src/version.rs b/massa-models/src/version.rs index beb6a929712..fe55ed2ab29 100644 --- a/massa-models/src/version.rs +++ b/massa-models/src/version.rs @@ -191,7 +191,10 @@ impl Deserializer for VersionDeserializer { impl Version { /// true if instance and major are the same pub fn is_compatible(&self, other: &Version) -> bool { - self.instance == other.instance && self.major == other.major && self.minor > 0 && other.minor > 0 + self.instance == other.instance + && self.major == other.major + && self.minor > 0 + && other.minor > 0 } }