X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fprotocol.h;h=a820563d0809681f11fb5078745bca3d6fd2f8bf;hp=e639127355a246f1039ecd16e78d6c448c88a6a6;hb=8b09cd3a4db2d712e91826d44a0e777478b450c6;hpb=b87c0fc4403040185b625d1b21bbff0cb7c828d7 diff --git a/src/protocol.h b/src/protocol.h index e639127..a820563 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -79,9 +79,10 @@ class CAddress : public CService if (fRead) pthis->Init(); if (nType & SER_DISK) - READWRITE(nVersion); - if ((nType & SER_DISK) || (nVersion >= 31402 && !(nType & SER_GETHASH))) - READWRITE(nTime); + READWRITE(nVersion); + if ((nType & SER_DISK) || + (nVersion >= CADDR_TIME_VERSION && !(nType & SER_GETHASH))) + READWRITE(nTime); READWRITE(nServices); READWRITE(*pip); )