bugfix: downgrade gateway protocol to clients proposed version (#6377)

This commit is contained in:
Jędrzej Stuczyński
2026-01-26 20:53:19 +00:00
committed by GitHub
parent b513a99498
commit 2024163be6
@@ -497,7 +497,7 @@ impl<R, S> FreshHandler<R, S> {
Err(incompatible_err)
} else {
debug!("the client is using exactly the same (or older) protocol version as we are. We're good to continue!");
Ok(CURRENT_PROTOCOL_VERSION)
Ok(client_protocol_version)
}
}