Including the number of hashes (even if zero) is now required in GetArbitraryDataFileListMessage, to allow for additional fields. Enough peers should have updated by now for this to be ok.

This commit is contained in:
CalDescent 2022-03-11 16:50:11 +00:00
parent 30347900d9
commit 7d3a465386

View File

@ -99,6 +99,9 @@ public class GetArbitraryDataFileListMessage extends Message {
bytes.write(hash);
}
}
else {
bytes.write(Ints.toByteArray(0));
}
if (this.requestingPeer != null) {
Serialization.serializeSizedStringV2(bytes, this.requestingPeer);