Clarify operator precedence in serialization of nSproutValue

This commit is contained in:
Jack Grigg
2017-12-15 18:36:05 +00:00
parent e319633435
commit 9d0c70e9e7

View File

@@ -357,7 +357,7 @@ public:
// this index was storing them.
// TODO: See if we can get away with not serializing the boost::optional
// one-byte header, without requiring users to reindex on upgrade.
if (nType & SER_DISK && nVersion >= SPROUT_VALUE_VERSION) {
if ((nType & SER_DISK) && (nVersion >= SPROUT_VALUE_VERSION)) {
READWRITE(nSproutValue);
}
}