nblockchain / TgSharp

Telegram client library implemented in C#
32 stars 12 forks source link

Removing constructor double write #20

Closed aarani closed 4 years ago

aarani commented 4 years ago

In "TLObject.Serialize() -> Serialize(BinaryWriter br) -> SerializeBody" code path, constructor get written two times instead of once, which since this code path is currently unused and it's only provided for completeness, It's undetectable while testing.