Delete old protocol version constants and simplify code that used them.
fixes #2244 Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
@@ -103,8 +103,7 @@ public:
|
||||
Init();
|
||||
if (nType & SER_DISK)
|
||||
READWRITE(nVersion);
|
||||
if ((nType & SER_DISK) ||
|
||||
(nVersion >= CADDR_TIME_VERSION && !(nType & SER_GETHASH)))
|
||||
if ((nType & SER_DISK) || !(nType & SER_GETHASH))
|
||||
READWRITE(nTime);
|
||||
READWRITE(nServices);
|
||||
READWRITE(*(CService*)this);
|
||||
|
||||
Reference in New Issue
Block a user