diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-19 11:40:00 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-03-06 17:21:58 +0100 |
| commit | 4f92773f9285760fe3e2eb14f5ca21de850d1955 (patch) | |
| tree | 5270003fb01a7c84b60a688a1e510ddd9fb0fb05 /src/primitives | |
| parent | src/primitives/block.cpp: endian compatibility in GetHash (diff) | |
| download | discoin-4f92773f9285760fe3e2eb14f5ca21de850d1955.tar.xz discoin-4f92773f9285760fe3e2eb14f5ca21de850d1955.zip | |
src/primitives/transaction.h: endian compatibility in serialization
Diffstat (limited to 'src/primitives')
| -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 1b5a47e0d..0ba9affed 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; } |