mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
interop: update AppCall comment
Do not require contract hash to be known at compile time.
This commit is contained in:
parent
d2ddf7b7cb
commit
28e0661f82
1 changed files with 1 additions and 5 deletions
|
@ -7,11 +7,7 @@ package engine
|
|||
|
||||
// AppCall executes previously deployed blockchain contract with specified hash
|
||||
// (160 bit in BE form represented as 20-byte slice) using provided arguments.
|
||||
// It returns whatever this contract returns. Even though this function accepts
|
||||
// a slice for scriptHash you can only use it for contracts known at
|
||||
// compile time, because there is a significant difference between static and
|
||||
// dynamic calls in Neo (contracts should have a special property declared
|
||||
// and paid for to be able to use dynamic calls). This function uses
|
||||
// It returns whatever this contract returns. This function uses
|
||||
// `System.Contract.Call` syscall.
|
||||
func AppCall(scriptHash []byte, method string, args ...interface{}) interface{} {
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue