mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
Merge pull request #1187 from majestrate/future-proof-intro-sets-2020-03-14
discard unknown fields in introset for future use
This commit is contained in:
commit
03da1d7d8f
@ -186,7 +186,10 @@ namespace llarp
|
|||||||
if(!BEncodeMaybeReadDictEntry("z", Z, read, key, buf))
|
if(!BEncodeMaybeReadDictEntry("z", Z, read, key, buf))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return read;
|
if(read)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return bencode_discard(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user