Skip to content

Commit

Permalink
NeoModules: integrate NotaryAssisted attribute
Browse files Browse the repository at this point in the history
Port the neo-project/neo-modules#884.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Jun 5, 2024
1 parent e2f0360 commit fbf5eae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Plugins/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 fbf5eae

Please sign in to comment.