Skip to content

Commit 7c15715

Browse files
committed
Fix PartialTezosTransactionOperation contructor
1 parent a963a6b commit 7c15715

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Beacon.Sdk/Beacon.Sdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Authors>Mikhail Tatarenko</Authors>
1515
<Product>Beacon.Sdk</Product>
1616
<Description>Beacon .NET SDK for Tezos wallet / dApps developers.</Description>
17-
<Version>1.0.23</Version>
17+
<Version>1.0.24</Version>
1818
<Copyright>Copyright © Baking Bad 2019-2022</Copyright>
1919
<Nullable>enable</Nullable>
2020
<TargetFramework>netstandard2.1</TargetFramework>

Beacon.Sdk/Beacon/Operation/TezosTransactionOperation.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using Newtonsoft.Json;
12
using Newtonsoft.Json.Linq;
23

34
namespace Beacon.Sdk.Beacon.Operation
@@ -8,6 +9,7 @@ public record PartialTezosTransactionOperation : TezosBaseOperation, IPartialTez
89
public string Destination { get; }
910
public JObject? Parameters { get; }
1011

12+
[JsonConstructor]
1113
public PartialTezosTransactionOperation(string amount, string destination, JObject? parameters) : base(
1214
TezosOperationType.transaction)
1315
{

0 commit comments

Comments
 (0)