compiler/interop: fix contract.GetCallFlags

This commit is contained in:
Evgeniy Stratonikov 2021-03-04 18:12:56 +03:00
parent 47ef3b41fa
commit dcbfe856cd

View file

@ -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