diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-10-29 07:11:24 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-11-13 18:15:20 +0100 |
commit | 114b5812f6283f2325fc31e186b26c6d76f9551a (patch) | |
tree | 6c04a7ee882b7d8a291bb9507ddd5cf17e23f704 /src/primitives | |
parent | 4f09b77c7fa50afc19d4458c9dd05219c82a298d (diff) |
Prevector type
Diffstat (limited to 'src/primitives')
-rw-r--r-- | src/primitives/transaction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 98882d315e..c5d8a64a6d 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -74,7 +74,7 @@ public: template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(prevout); - READWRITE(scriptSig); + READWRITE(*(CScriptBase*)(&scriptSig)); READWRITE(nSequence); } @@ -119,7 +119,7 @@ public: template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(nValue); - READWRITE(scriptPubKey); + READWRITE(*(CScriptBase*)(&scriptPubKey)); } void SetNull() |