Do not log warning for filtered block inv types.
ok @davecgh
This commit is contained in:
parent
d2d518a8e4
commit
35d555d541
1 changed files with 2 additions and 0 deletions
2
peer.go
2
peer.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue