diff --git a/pkg/core/native/management.go b/pkg/core/native/management.go index f362c9220..dc5d593e5 100644 --- a/pkg/core/native/management.go +++ b/pkg/core/native/management.go @@ -659,6 +659,12 @@ func (m *Management) OnPersist(ic *interop.Context) error { cache = ic.DAO.GetRWCache(m.ID).(*ManagementCache) } updateContractCache(cache, cs) + + ntfName := contractDeployNotificationName + if isUpdate { + ntfName = contractUpdateNotificationName + } + m.emitNotification(ic, ntfName, cs.Hash) } return nil