remove warning messages in favor of "Send failed"

This commit is contained in:
Anton Kaliaev
2017-02-21 13:25:16 +04:00
parent 6dbe9febce
commit 2c724d5eee
2 changed files with 3 additions and 18 deletions
-1
View File
@@ -118,7 +118,6 @@ func (bcR *BlockchainReactor) GetChannels() []*p2p.ChannelDescriptor {
// AddPeer implements Reactor by sending our state to peer.
func (bcR *BlockchainReactor) AddPeer(peer *p2p.Peer) {
if !peer.Send(BlockchainChannel, struct{ BlockchainMessage }{&bcStatusResponseMessage{bcR.store.Height()}}) {
log.Warn("Failed to send our state to peer", "peer", peer)
// doing nothing, will try later in `poolRoutine`
}
}