mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
src/primitives/transaction.h: endian compatibility in serialization
This commit is contained in:
parent
81aeb28436
commit
4f92773f92
@ -25,7 +25,8 @@ public:
|
||||
|
||||
template <typename Stream, typename Operation>
|
||||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||
READWRITE(FLATDATA(*this));
|
||||
READWRITE(hash);
|
||||
READWRITE(n);
|
||||
}
|
||||
|
||||
void SetNull() { hash.SetNull(); n = (uint32_t) -1; }
|
||||
|
Loading…
Reference in New Issue
Block a user