func (handler *ConsensusHandler) Stop() error {
	err := handler.peerHandler.Stop() // deregister the handler
	if err != nil {
		return fmt.Errorf("Error stopping ConsensusHandler: %s", err)
	}
	return nil
}
// Stop stops this MessageHandler, which then delegates to the contained PeerHandler to stop (and thus deregister this Peer)
Stop stops this MessageHandler, which then delegates to the contained PeerHandler to stop (and thus deregister this Peer)
// Stop stops this MessageHandler which then delegates to the contained PeerHandler to stop ( and thus deregister this Peer )
func (handler *ConsensusHandler) Stop() error {
	err := handler.peerHandler.Stop() 
	if err != nil {
		return fmt.Errorf("Error stopping ConsensusHandler: %s", err)
	}
	return nil
}
func ( handler * ConsensusHandler ) Stop ( ) error { err := handler . peerHandler . Stop ( ) if err != nil { return fmt . Errorf ( " " , err ) } return nil }
Stop stops this MessageHandler, which then delegates to the contained PeerHandler to stop (and thus deregister this Peer)
Stop stops this MessageHandler which then delegates to the contained PeerHandler to stop ( and thus deregister this Peer )
// deregister the handler