Do not log warning for filtered block inv types.

ok @davecgh
This commit is contained in:
Josh Rickmar 2014-06-24 18:44:28 -05:00
parent d2d518a8e4
commit 35d555d541

View file

@ -674,6 +674,8 @@ func (p *peer) handleGetDataMsg(msg *btcwire.MsgGetData) {
err = p.pushTxMsg(&iv.Hash, c, waitChan) err = p.pushTxMsg(&iv.Hash, c, waitChan)
case btcwire.InvTypeBlock: case btcwire.InvTypeBlock:
err = p.pushBlockMsg(&iv.Hash, c, waitChan) err = p.pushBlockMsg(&iv.Hash, c, waitChan)
case btcwire.InvTypeFilteredBlock: // unhandled
continue
default: default:
peerLog.Warnf("Unknown type in inventory request %d", peerLog.Warnf("Unknown type in inventory request %d",
iv.Type) iv.Type)