Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Jan 6, 2020
1 parent 5d33a0e commit 3fddad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Neo.Network.RPC.Tests/UT_ContractClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void TestDeployContract()
manifest.Features = ContractFeatures.HasStorage | ContractFeatures.Payable;
using (ScriptBuilder sb = new ScriptBuilder())
{
sb.EmitSysCall(InteropService.Neo_Contract_Create, new byte[1], manifest.ToString());
sb.EmitSysCall(InteropService.Contract.Create, new byte[1], manifest.ToString());
script = sb.ToArray();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Neo.Network.RPC.Tests/UT_RpcClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public void TestGetContractState()
byte[] script;
using (var sb = new ScriptBuilder())
{
sb.EmitSysCall(InteropService.System_Runtime_GetInvocationCounter);
sb.EmitSysCall(InteropService.Runtime.GetInvocationCounter);
script = sb.ToArray();
}

Expand Down

0 comments on commit 3fddad5

Please sign in to comment.