vm: adjust emit.AppCall comment

There's no APPCALL anymore.
This commit is contained in:
Anna Shaleva 2022-09-16 17:25:43 +03:00
parent 5eb4ba772f
commit df802b6fc6

View file

@ -225,7 +225,7 @@ func AppCallNoArgs(w *io.BinWriter, scriptHash util.Uint160, operation string, f
Syscall(w, interopnames.SystemContractCall) Syscall(w, interopnames.SystemContractCall)
} }
// AppCall emits an APPCALL with the default parameters to the given operation and arguments. // AppCall emits SYSCALL with System.Contract.Call parameter for given contract, operation, call flag and arguments.
func AppCall(w *io.BinWriter, scriptHash util.Uint160, operation string, f callflag.CallFlag, args ...interface{}) { func AppCall(w *io.BinWriter, scriptHash util.Uint160, operation string, f callflag.CallFlag, args ...interface{}) {
Array(w, args...) Array(w, args...)
AppCallNoArgs(w, scriptHash, operation, f) AppCallNoArgs(w, scriptHash, operation, f)