Skip to content

Commit

Permalink
Add NotaryAssisted transaction attribute type
Browse files Browse the repository at this point in the history
Port neo-project/neo#3175.
Ref. neo-project/neo#2896.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Mar 6, 2024
1 parent da5ad4c commit 8f55314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/RpcClient/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ public static TransactionAttribute TransactionAttributeFromJson(JObject json)
{
Hash = UInt256.Parse(json["hash"].AsString())
},
TransactionAttributeType.NotaryAssisted => new NotaryAssisted()
{
NKeys = (byte)json["nkeys"].AsNumber()
},
_ => throw new FormatException(),
};
}
Expand Down

0 comments on commit 8f55314

Please sign in to comment.