correctly discard invalid data on transfer traffic message

pull/1576/head
Jeff Becker 3 years ago
parent 25e338d621
commit 5eda4addc2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -53,7 +53,7 @@ namespace llarp
return false;
if (!BEncodeMaybeReadDictList("X", X, read, key, buf))
return false;
return bencode_discard(buf);
return read or bencode_discard(buf);
}
bool

Loading…
Cancel
Save