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
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 1 additions and 1 deletions

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);
}
}