Evgenii Stratonikov
47b0ec33c3
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Done in TrueCloudLab/frostfs-contract#16. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
14 lines
349 B
Go
14 lines
349 B
Go
package netmap
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
|
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
|
)
|
|
|
|
func createNotifyEventFromItems(items []stackitem.Item) *state.ContainedNotificationEvent {
|
|
return &state.ContainedNotificationEvent{
|
|
NotificationEvent: state.NotificationEvent{
|
|
Item: stackitem.NewArray(items),
|
|
},
|
|
}
|
|
}
|