Remove relay log message and update comment.

This commit is contained in:
Dave Collins 2013-09-12 09:29:42 -05:00
parent b58787f87a
commit f5c03696f7

View File

@ -958,8 +958,8 @@ out:
continue
}
// Create a new inventory message, populate it with as
// much per
// Create and send as many inv messages as needed to
// drain the inventory send queue.
invMsg := btcwire.NewMsgInv()
for e := p.invSendQueue.Front(); e != nil; e = p.invSendQueue.Front() {
iv := p.invSendQueue.Remove(e).(*btcwire.InvVect)
@ -981,7 +981,6 @@ out:
p.addKnownInventory(iv)
}
if len(invMsg.InvList) > 0 {
log.Infof("Relaying %d inv to %v", len(invMsg.InvList), p.conn.RemoteAddr())
p.writeMessage(invMsg)
}