*: make Notify interop accept event name
This commit is contained in:
parent
1154e180fa
commit
3d7fa9de93
17 changed files with 84 additions and 43 deletions
|
@ -42,6 +42,7 @@ func GetNotifications(ic *interop.Context, v *vm.VM) error {
|
|||
for i := range notifications {
|
||||
ev := stackitem.NewArray([]stackitem.Item{
|
||||
stackitem.NewByteArray(notifications[i].ScriptHash.BytesBE()),
|
||||
stackitem.Make(notifications[i].Name),
|
||||
notifications[i].Item,
|
||||
})
|
||||
arr.Append(ev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue