Skip to content

Commit 8991f2b

Browse files
committed
TonClient.OptionsInfo may be null (when not initialized)
1 parent 4207138 commit 8991f2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TonLibDotNet/ITonClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace TonLibDotNet
66
{
77
public interface ITonClient
88
{
9-
OptionsInfo OptionsInfo { get; }
9+
OptionsInfo? OptionsInfo { get; }
1010

1111
Task<OptionsInfo?> InitIfNeeded();
1212

TonLibDotNet/TonClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public TonClient(ILogger<TonClient> logger, Microsoft.Extensions.Options.IOption
4848
[DllImport(TonLibResolver.DllNamePlaceholder)]
4949
private static extern IntPtr tonlib_client_json_receive(IntPtr client, double timeout);
5050

51-
public OptionsInfo OptionsInfo { get; private set; }
51+
public OptionsInfo? OptionsInfo { get; private set; }
5252

5353
/// <summary>
5454
/// Add assembly with additional <see cref="TypeBase"/> classes for LiteServer interaction.

0 commit comments

Comments
 (0)