Merge branch 'master' into dev
This commit is contained in:
@@ -429,7 +429,7 @@ public:
|
||||
template<unsigned int C>
|
||||
inline void serializeForCache(Buffer<C> &b) const
|
||||
{
|
||||
b.append((uint8_t)1);
|
||||
b.append((uint8_t)2);
|
||||
|
||||
_id.serialize(b);
|
||||
|
||||
@@ -457,7 +457,7 @@ public:
|
||||
{
|
||||
try {
|
||||
unsigned int ptr = 0;
|
||||
if (b[ptr++] != 1)
|
||||
if (b[ptr++] != 2)
|
||||
return SharedPtr<Peer>();
|
||||
|
||||
Identity id;
|
||||
|
||||
Reference in New Issue
Block a user