compiler,interop: make AppCall accept varargs

This commit is contained in:
Evgenii Stratonikov 2020-02-10 10:51:29 +03:00
parent 1fc64d515f
commit 52d8d58593
2 changed files with 4 additions and 6 deletions

View file

@ -29,6 +29,6 @@ func GetEntryScriptHash() []byte {
}
// AppCall executes script with specified hash using provided arguments.
func AppCall(scriptHash []byte, args []interface{}) interface{} {
func AppCall(scriptHash []byte, args ...interface{}) interface{} {
return nil
}