mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Merge pull request #11126 from DeterminateSystems/dont-send-version-twice
BasicClientConnection::handshake(): Don't send our version twice
This commit is contained in:
commit
a915862450
1 changed files with 0 additions and 1 deletions
|
@ -152,7 +152,6 @@ WorkerProto::BasicClientConnection::handshake(BufferedSink & to, Source & from,
|
|||
throw Error("Nix daemon protocol version not supported");
|
||||
if (GET_PROTOCOL_MINOR(daemonVersion) < 10)
|
||||
throw Error("the Nix daemon version is too old");
|
||||
to << localVersion;
|
||||
|
||||
return std::min(daemonVersion, localVersion);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue