This commit is contained in:
Federico Armellini 2019-01-28 22:37:56 +01:00
parent cc5a3d6bb9
commit 7005e11219
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ namespace TLSharp.Core.MTProto.Crypto
{
private int validSince;
private int validUntil;
private ulong salt;
private readonly ulong salt;
public Salt(int validSince, int validUntil, ulong salt)
{
@ -61,8 +61,8 @@ namespace TLSharp.Core.MTProto.Crypto
public class GetFutureSaltsResponse
{
private ulong requestId;
private int now;
private readonly ulong requestId;
private readonly int now;
private SaltCollection salts;
public GetFutureSaltsResponse(ulong requestId, int now)

View file

@ -6,8 +6,8 @@ namespace TLSharp.Core.Network
{
public class MtProtoPlainSender
{
private int sequence = 0;
private int timeOffset;
private readonly int sequence = 0;
private readonly int timeOffset;
private long lastMessageId;
private Random random;
private TcpTransport _transport;