Merge pull request #2525 from nspcc-dev/immutable-items
vm: implement immutable stackitems
This commit is contained in:
commit
e1607e23c2
11 changed files with 112 additions and 21 deletions
|
@ -54,7 +54,7 @@ func GetNotifications(ic *interop.Context) error {
|
|||
ev := stackitem.NewArray([]stackitem.Item{
|
||||
stackitem.NewByteArray(notifications[i].ScriptHash.BytesBE()),
|
||||
stackitem.Make(notifications[i].Name),
|
||||
stackitem.DeepCopy(notifications[i].Item).(*stackitem.Array),
|
||||
notifications[i].Item,
|
||||
})
|
||||
arr.Append(ev)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue