core: DeepCopy notifiction event args inside System.Runtime.Notify
This commit is contained in:
parent
7296f0c913
commit
42a051e55a
5 changed files with 5 additions and 5 deletions
|
@ -53,7 +53,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, false).(*stackitem.Array),
|
||||
notifications[i].Item,
|
||||
})
|
||||
arr.Append(ev)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue