Check for viable version before deserializing

This commit is contained in:
Lukas Joswiak 2022-04-12 11:02:59 -07:00
parent 6fb84adc67
commit 08a8eb2b37
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ struct CommitTransactionRef {
if (ar.protocolVersion().hasReportConflictingKeys()) {
serializer(ar, report_conflicting_keys);
}
if (ar.protocolVersion().hasSpanContext()) {
if (ar.protocolVersion().version() >= (uint64_t)0x0FDB00B071000000LL) {
serializer(ar, lock_aware, spanContext);
}
}