From dcbfe856cda6aca70232d96c3a31a81824377b25 Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Thu, 4 Mar 2021 18:12:56 +0300 Subject: [PATCH] compiler/interop: fix `contract.GetCallFlags` --- pkg/interop/contract/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interop/contract/contract.go b/pkg/interop/contract/contract.go index e37064ce1..0fe1b88bc 100644 --- a/pkg/interop/contract/contract.go +++ b/pkg/interop/contract/contract.go @@ -46,7 +46,7 @@ func CreateStandardAccount(pub interop.PublicKey) []byte { // GetCallFlags returns calling flags which execution context was created with. // This function uses `System.Contract.GetCallFlags` syscall. func GetCallFlags() CallFlag { - return neogointernal.Syscall0("System.Contract.GetFlags").(CallFlag) + return neogointernal.Syscall0("System.Contract.GetCallFlags").(CallFlag) } // Call executes previously deployed blockchain contract with specified hash