Skip to content

Commit d85e1d7

Browse files
Merge pull request #10 from RemarkableTools/dev
Dev to main
2 parents 3ac5ee7 + c20a010 commit d85e1d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Mx.NET.SDK/Domain/Data/Account/Account.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public static Account From(AccountDto account)
115115
Nonce = account.Nonce,
116116
Shard = account.Shard,
117117
Assets = account.Assets,
118-
RootHash = Encoding.UTF8.GetString(Convert.FromBase64String(account.RootHash)),
118+
RootHash = account.RootHash == null ? null : Encoding.UTF8.GetString(Convert.FromBase64String(account.RootHash)),
119119
TxCount = account.TxCount,
120120
SrcCount = account.ScrCount,
121121
UserName = account.UserName,

src/Mx.NET.SDK/Mx.NET.SDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<RepositoryUrl>https://github.com/RemarkableTools/Mx.NET.SDK</RepositoryUrl>
1212
<RepositoryType>GitHub</RepositoryType>
1313
<Company>Remarkable Tools</Company>
14-
<Version>1.0.6</Version>
14+
<Version>1.0.7</Version>
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1616
<Title>RemarkableTools.Mx</Title>
1717
<PackageReadmeFile>README.md</PackageReadmeFile>

0 commit comments

Comments
 (0)