mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-27 05:42:56 +00:00
compiler: Contract type is in the management package
This commit is contained in:
parent
b9d20b32e9
commit
0f61a13006
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ func scAndVMInteropTypeFromExpr(named *types.Named, isPointer bool) (smartcontra
|
|||
name := named.Obj().Name()
|
||||
pkg := named.Obj().Pkg().Name()
|
||||
switch pkg {
|
||||
case "ledger", "contract":
|
||||
case "ledger", "management":
|
||||
// Block, Transaction, Contract.
|
||||
typeName := pkg + "." + name
|
||||
et := &binding.ExtendedType{Base: smartcontract.ArrayType, Name: typeName}
|
||||
|
|
Loading…
Reference in a new issue