mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-19 05:33:36 +01:00
Add warning on invalid msg type in block manager.
This commit is contained in:
parent
d949072d6d
commit
cdbe387545
@ -906,7 +906,8 @@ out:
|
|||||||
b.handleDonePeerMsg(candidatePeers, msg.peer)
|
b.handleDonePeerMsg(candidatePeers, msg.peer)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// bitch and whine.
|
bmgrLog.Warnf("Invalid message type in block "+
|
||||||
|
"handler: %T", msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Queries used for atomically retrieving internal state.
|
// Queries used for atomically retrieving internal state.
|
||||||
|
Loading…
Reference in New Issue
Block a user