func (b *Blockchain) UnregisterNotifee(n BlockchainNotifee) {
	b.notifeeLock.Lock()
	defer b.notifeeLock.Unlock()
	for i, other := range b.notifees {
		if other == n {
			b.notifees = append(b.notifees[:i], b.notifees[i+1:]...)
		}
	}
}
// UnregisterNotifee unregisters a notifee for blockchain.
UnregisterNotifee unregisters a notifee for blockchain.
// UnregisterNotifee unregisters a notifee for blockchain .
func (b *Blockchain) UnregisterNotifee(n BlockchainNotifee) {
	b.notifeeLock.Lock()
	defer b.notifeeLock.Unlock()
	for i, other := range b.notifees {
		if other == n {
			b.notifees = append(b.notifees[:i], b.notifees[i+1:]...)
		}
	}
}
func ( b * Blockchain ) UnregisterNotifee ( n BlockchainNotifee ) { b . notifeeLock . Lock ( ) defer b . notifeeLock . Unlock ( ) for i , other := range b . notifees { if other == n { b . notifees = append ( b . notifees [ : i ] , b . notifees [ i + 1 : ] ... ) } } }
UnregisterNotifee unregisters a notifee for blockchain.
UnregisterNotifee unregisters a notifee for blockchain .