compiler/interop: return proper type from contract.GetCallFlags
This commit is contained in:
parent
0b54870bfe
commit
1e2944f492
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ 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() int64 {
|
||||
return neogointernal.Syscall0("System.Contract.GetFlags").(int64)
|
||||
func GetCallFlags() CallFlag {
|
||||
return neogointernal.Syscall0("System.Contract.GetFlags").(CallFlag)
|
||||
}
|
||||
|
||||
// Call executes previously deployed blockchain contract with specified hash
|
||||
|
|
Loading…
Reference in a new issue