1
0
mirror of https://github.com/oliverbooth/TcpDotNet synced 2024-11-10 02:35:43 +00:00

style: remove redundant line break

This commit is contained in:
Oliver Booth 2024-02-12 22:55:29 +00:00
parent 55bc903ea9
commit 1485578088
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -95,8 +95,7 @@ public sealed class ProtocolClient : ClientNode
State = ClientState.Handshaking; State = ClientState.Handshaking;
var handshakeRequest = new HandshakeRequestPacket(ProtocolVersion); var handshakeRequest = new HandshakeRequestPacket(ProtocolVersion);
var handshakeResponse = var handshakeResponse = await SendAndReceiveAsync<HandshakeResponsePacket>(handshakeRequest, cancellationToken);
await SendAndReceiveAsync<HandshakeResponsePacket>(handshakeRequest, cancellationToken);
if (handshakeResponse.HandshakeResponse != HandshakeResponse.Success) if (handshakeResponse.HandshakeResponse != HandshakeResponse.Success)
{ {