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/policy/feerate.h | |
parent | 2b1f85e8c52c8bc5a17eae4c809eaf61d724af98 (diff) |
Convert everything except wallet/qt to new serialization
Diffstat (limited to 'src/policy/feerate.h')
-rw-r--r-- | src/policy/feerate.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/policy/feerate.h b/src/policy/feerate.h index c040867965..61fa80c130 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -48,12 +48,7 @@ public: CFeeRate& operator+=(const CFeeRate& a) { nSatoshisPerK += a.nSatoshisPerK; return *this; } std::string ToString() const; - ADD_SERIALIZE_METHODS; - - template <typename Stream, typename Operation> - inline void SerializationOp(Stream& s, Operation ser_action) { - READWRITE(nSatoshisPerK); - } + SERIALIZE_METHODS(CFeeRate, obj) { READWRITE(obj.nSatoshisPerK); } }; #endif // BITCOIN_POLICY_FEERATE_H |