Commit 5648eddc authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

bugfixes to prev commit

parent 9b0f481c
......@@ -41,7 +41,7 @@ func peersToPBPeers(peers []*peer.Peer) []*Message_Peer {
func (m *Message) GetClusterLevel() int {
level := m.GetClusterLevelRaw() - 1
if level < 0 {
log.Error("GetClusterLevel: no routing level specified, assuming 0")
log.Debug("GetClusterLevel: no routing level specified, assuming 0")
level = 0
}
return int(level)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment