Skip to content

Commit 6aadf4a

Browse files
committed
v0.23.1
1 parent 366909a commit 6aadf4a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

TonLibDotNet/Cells/Cell.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ public class Cell
99
public const int MaxBitsCount = 1023;
1010
public const int MaxRefs = 4;
1111

12-
public Cell(ReadOnlySpan<byte> content, bool isAugmented, ICollection<Cell>? refs = null)
13-
: this(false, refs != null && refs.Count > 0 ? refs.Max(x => x.Level) : (byte)0, content, isAugmented, refs)
14-
{
15-
// Nothing.
16-
}
12+
public Cell(ReadOnlySpan<byte> content, bool isAugmented, ICollection<Cell>? refs = null)
13+
: this(false, refs != null && refs.Count > 0 ? refs.Max(x => x.Level) : (byte)0, content, isAugmented, refs)
14+
{
15+
// Nothing.
16+
}
1717

1818

19-
public Cell(bool isExotic, byte level, ReadOnlySpan<byte> content, bool isAugmented, ICollection<Cell>? refs = null)
19+
public Cell(bool isExotic, byte level, ReadOnlySpan<byte> content, bool isAugmented, ICollection<Cell>? refs = null)
2020
{
2121
if (content.Length > MaxContentLength)
2222
{

TonLibDotNet/TonLibDotNet.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<RepositoryType>git</RepositoryType>
1717
<PackageTags>ton, toncoin, the-open-network, tonlib, tonlibjson</PackageTags>
1818
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19-
<Version>0.23.0</Version>
20-
<PackageReleaseNotes>Several changes, see GitHub changelog.</PackageReleaseNotes>
19+
<Version>0.23.1</Version>
20+
<PackageReleaseNotes>Fix "Sequence contains no elements" exception, see GitHub changelog for details.</PackageReleaseNotes>
2121
<Description>TonLib (tonlibjson) wrapper for accessing Telegram Open Network lite servers (nodes) via ADNL protocol.</Description>
2222
<GenerateDocumentationFile>True</GenerateDocumentationFile>
2323
</PropertyGroup>

0 commit comments

Comments
 (0)