diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2020-01-18 07:32:58 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2020-01-21 20:29:11 -0800 |
commit | 4de934b9b5b4be1bac8fe205f4ee9a79e772dc34 (patch) | |
tree | 7d3c21b118a2597a1fc61bd813bd28b6c81016fc /src/undo.h | |
parent | ca34c5cba5fbb9b046b074a234f06ecf6ed5d610 (diff) |
Convert compression.h to new serialization framework
Diffstat (limited to 'src/undo.h')
-rw-r--r-- | src/undo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.h b/src/undo.h index 3f50f4caad..2009c721ab 100644 --- a/src/undo.h +++ b/src/undo.h @@ -32,7 +32,7 @@ public: // Required to maintain compatibility with older undo format. ::Serialize(s, (unsigned char)0); } - ::Serialize(s, CTxOutCompressor(REF(txout->out))); + ::Serialize(s, Using<TxOutCompression>(REF(txout->out))); } explicit TxInUndoSerializer(const Coin* coin) : txout(coin) {} @@ -56,7 +56,7 @@ public: unsigned int nVersionDummy; ::Unserialize(s, VARINT(nVersionDummy)); } - ::Unserialize(s, CTxOutCompressor(REF(txout->out))); + ::Unserialize(s, Using<TxOutCompression>(REF(txout->out))); } explicit TxInUndoDeserializer(Coin* coin) : txout(coin) {} |