diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-03-11 09:35:50 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-03-30 16:10:30 -0700 |
commit | 4eb5643e3538863c9d2ff261f49a9a1b248de243 (patch) | |
tree | 377437ffee20c67fa7e0611c31be6b2490a4483c /src/script/script.h | |
parent | 2b1f85e8c52c8bc5a17eae4c809eaf61d724af98 (diff) | |
download | bitcoin-4eb5643e3538863c9d2ff261f49a9a1b248de243.tar.xz |
Convert everything except wallet/qt to new serialization
Diffstat (limited to 'src/script/script.h')
-rw-r--r-- | src/script/script.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/script/script.h b/src/script/script.h index 7aaa10b60b..e3dd57ddc9 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -412,12 +412,7 @@ public: CScript(std::vector<unsigned char>::const_iterator pbegin, std::vector<unsigned char>::const_iterator pend) : CScriptBase(pbegin, pend) { } CScript(const unsigned char* pbegin, const unsigned char* pend) : CScriptBase(pbegin, pend) { } - ADD_SERIALIZE_METHODS; - - template <typename Stream, typename Operation> - inline void SerializationOp(Stream& s, Operation ser_action) { - READWRITEAS(CScriptBase, *this); - } + SERIALIZE_METHODS(CScript, obj) { READWRITEAS(CScriptBase, obj); } CScript& operator+=(const CScript& b) { |