diff options
| author | Pieter Wuille <[email protected]> | 2015-10-29 07:11:24 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-11-13 18:15:20 +0100 |
| commit | 114b5812f6283f2325fc31e186b26c6d76f9551a (patch) | |
| tree | 6c04a7ee882b7d8a291bb9507ddd5cf17e23f704 /src/primitives | |
| parent | Merge pull request #6983 (diff) | |
| download | archived-discoin-114b5812f6283f2325fc31e186b26c6d76f9551a.tar.xz archived-discoin-114b5812f6283f2325fc31e186b26c6d76f9551a.zip | |
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 98882d315..c5d8a64a6 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() |