diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-31 18:13:55 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-08-31 18:13:10 +0200 |
commit | fab53ff1e5a995f40a110d6f9e1214f263908b46 (patch) | |
tree | 8556636c8e5d33240be25174eb01e48a383e00cd /src/addrdb.h | |
parent | 7be143a960e2bb9ac81144f55c45731c1bb209c5 (diff) |
Remove unused SERIALIZE_METHODS for CBanEntry
Diffstat (limited to 'src/addrdb.h')
-rw-r--r-- | src/addrdb.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/addrdb.h b/src/addrdb.h index 1e0ccb1f60..567b9973b7 100644 --- a/src/addrdb.h +++ b/src/addrdb.h @@ -8,10 +8,8 @@ #include <fs.h> #include <net_types.h> // For banmap_t -#include <serialize.h> #include <univalue.h> -#include <string> #include <vector> class CAddress; @@ -44,12 +42,6 @@ public: */ explicit CBanEntry(const UniValue& json); - SERIALIZE_METHODS(CBanEntry, obj) - { - uint8_t ban_reason = 2; //! For backward compatibility - READWRITE(obj.nVersion, obj.nCreateTime, obj.nBanUntil, ban_reason); - } - void SetNull() { nVersion = CBanEntry::CURRENT_VERSION; |