src/primitives/transaction.h: endian compatibility in serialization
This commit is contained in:
parent
81aeb28436
commit
4f92773f92
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue