Add warning on invalid msg type in block manager.

This commit is contained in:
Dave Collins 2014-02-04 09:44:01 -06:00
parent d949072d6d
commit cdbe387545

View File

@ -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.