diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index b8f597736..5f46ca9af 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -30,8 +30,8 @@ var syscalls = map[string]map[string]string{ }, "blockchain": { "GetBlock": "System.Blockchain.GetBlock", - "GetContract": "Neo.Blockchain.GetContract", - "GetHeight": "Neo.Blockchain.GetHeight", + "GetContract": "System.Blockchain.GetContract", + "GetHeight": "System.Blockchain.GetHeight", "GetTransaction": "System.Blockchain.GetTransaction", "GetTransactionFromBlock": "System.Blockchain.GetTransactionFromBlock", "GetTransactionHeight": "System.Blockchain.GetTransactionHeight", diff --git a/pkg/core/interops.go b/pkg/core/interops.go index be271a10e..b20758e0c 100644 --- a/pkg/core/interops.go +++ b/pkg/core/interops.go @@ -94,8 +94,6 @@ var systemInterops = []interop.Function{ } var neoInterops = []interop.Function{ - {Name: "Neo.Blockchain.GetContract", Func: bcGetContract, Price: 100}, - {Name: "Neo.Blockchain.GetHeight", Func: bcGetHeight, Price: 1}, {Name: "Neo.Contract.Create", Func: contractCreate, Price: 0}, {Name: "Neo.Contract.Destroy", Func: contractDestroy, Price: 1}, {Name: "Neo.Contract.GetScript", Func: contractGetScript, Price: 1},