1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-29 16:04:32 +00:00

correct serialization

This commit is contained in:
orignal 2018-04-11 18:45:39 -04:00
parent 9e59c9b64e
commit 9b0b7a6bee

View File

@ -91,7 +91,7 @@ class CNetAddr
READWRITE(FLATDATA(ip));
if (!(nType & SER_IPADDRONLY))
{
READWRITE(FLATDATA(i2pDest));
READWRITE(i2pDest);
}
)
};
@ -136,7 +136,7 @@ class CService : public CNetAddr
READWRITE(FLATDATA(ip));
if (!(nType & SER_IPADDRONLY))
{
READWRITE(FLATDATA(i2pDest));
READWRITE(i2pDest);
}
unsigned short portN = htons(port);
READWRITE(portN);