Browse Source

Clarify operator precedence in serialization of nSproutValue

pull/4/head
Jack Grigg 7 years ago
parent
commit
9d0c70e9e7
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 2
      src/chain.h

2
src/chain.h

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

Loading…
Cancel
Save