diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2020-07-11 09:55:38 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-28 17:48:15 +0200 |
commit | aaaa3fa9477eef9ea72e4a501d130c57b47b470a (patch) | |
tree | 5cb4db76123a10ff6ff2c24d1278a584eca04d40 /src/primitives | |
parent | 1c1a02bbd246101fd477b0897aef971b511b4241 (diff) | |
download | bitcoin-aaaa3fa9477eef9ea72e4a501d130c57b47b470a.tar.xz |
Replace READWRITEAS macro with AsBase wrapping function
Co-authored-by: Pieter Wuille <pieter@wuille.net>
Diffstat (limited to 'src/primitives')
-rw-r--r-- | src/primitives/block.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h index bd11279a6e..861d362414 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -87,8 +87,7 @@ public: SERIALIZE_METHODS(CBlock, obj) { - READWRITEAS(CBlockHeader, obj); - READWRITE(obj.vtx); + READWRITE(AsBase<CBlockHeader>(obj), obj.vtx); } void SetNull() |