mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
Remove unused SERIALIZE_METHODS for CBanEntry
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user