diff --git a/src/bls/bls_ies.h b/src/bls/bls_ies.h index b7f0cf8aed..7093878fb9 100644 --- a/src/bls/bls_ies.h +++ b/src/bls/bls_ies.h @@ -29,7 +29,7 @@ public: valid = false; } READWRITE(ephemeralPubKey); - READWRITE(FLATDATA(iv)); + READWRITE(iv); READWRITE(data); if (ser_action.ForRead()) { valid = true; diff --git a/src/flat-database.h b/src/flat-database.h index ffc0b61559..3c863c8c1a 100644 --- a/src/flat-database.h +++ b/src/flat-database.h @@ -45,7 +45,7 @@ private: // serialize, checksum data up to that point, then append checksum CDataStream ssObj(SER_DISK, CLIENT_VERSION); ssObj << strMagicMessage; // specific magic message for this type of object - ssObj << FLATDATA(Params().MessageStart()); // network specific magic number + ssObj << Params().MessageStart(); // network specific magic number ssObj << objToSave; uint256 hash = Hash(ssObj.begin(), ssObj.end()); ssObj << hash; @@ -132,7 +132,7 @@ private: // de-serialize file header (network specific magic number) and .. - ssObj >> FLATDATA(pchMsgTmp); + ssObj >> pchMsgTmp; // ... verify the network matches ours if (memcmp(pchMsgTmp, Params().MessageStart(), sizeof(pchMsgTmp)))