diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-03-11 09:35:39 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-03-30 16:10:30 -0700 |
commit | 2b1f85e8c52c8bc5a17eae4c809eaf61d724af98 (patch) | |
tree | 76978d88902e6894b4288cf804722b67294d12bd /src/blockencodings.h | |
parent | 73747afbbeb013669faf4c4d2c0903cec4526fb0 (diff) |
Convert blockencodings_tests to new serialization
Diffstat (limited to 'src/blockencodings.h')
-rw-r--r-- | src/blockencodings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h index be50166cfc..457ac4508b 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -92,12 +92,13 @@ private: friend class PartiallyDownloadedBlock; - static const int SHORTTXIDS_LENGTH = 6; protected: std::vector<uint64_t> shorttxids; std::vector<PrefilledTransaction> prefilledtxn; public: + static constexpr int SHORTTXIDS_LENGTH = 6; + CBlockHeader header; // Dummy for deserialization |