diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-12-19 11:40:00 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-06 17:21:58 +0100 |
commit | 4f92773f9285760fe3e2eb14f5ca21de850d1955 (patch) | |
tree | 5270003fb01a7c84b60a688a1e510ddd9fb0fb05 /src/primitives/transaction.h | |
parent | 81aeb28436d847ed4e6bcda8c746a3e5631c7feb (diff) |
src/primitives/transaction.h: endian compatibility in serialization
Diffstat (limited to 'src/primitives/transaction.h')
-rw-r--r-- | src/primitives/transaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 1b5a47e0da..0ba9affeda 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -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; } |