func (sm *ShardManager) UnregisterNotifee(n ShardChainActionNotifee) {
	sm.notifeesLock.Lock()
	defer sm.notifeesLock.Unlock()
	for i, other := range sm.notifees {
		if other == n {
			sm.notifees = append(sm.notifees[:i], sm.notifees[i+1:]...)
		}
	}
}
// UnregisterNotifee unregisters a notifee for shard actions
UnregisterNotifee unregisters a notifee for shard actions
// UnregisterNotifee unregisters a notifee for shard actions
func (sm *ShardManager) UnregisterNotifee(n ShardChainActionNotifee) {
	sm.notifeesLock.Lock()
	defer sm.notifeesLock.Unlock()
	for i, other := range sm.notifees {
		if other == n {
			sm.notifees = append(sm.notifees[:i], sm.notifees[i+1:]...)
		}
	}
}
func ( sm * ShardManager ) UnregisterNotifee ( n ShardChainActionNotifee ) { sm . notifeesLock . Lock ( ) defer sm . notifeesLock . Unlock ( ) for i , other := range sm . notifees { if other == n { sm . notifees = append ( sm . notifees [ : i ] , sm . notifees [ i + 1 : ] ... ) } } }
UnregisterNotifee unregisters a notifee for shard actions
UnregisterNotifee unregisters a notifee for shard actions