Merge pull request #63 from bboreham/29_unknown_peer

Remove log message about unknown peer

Fixes #29
This commit is contained in:
rade committed 2014-09-17 15:30:53 +01:00
commit a94ae91921
1 file changed
+1 -1
+1 -1
View File
@@ -481,7 +481,7 @@ func (conn *LocalConnection) receiveTCP(decoder *gob.Decoder, usingPassword bool
} else if msg[0] == ProtocolUpdate {
newUpdate, err := conn.Router.Peers.ApplyUpdate(msg[1:], conn.Router)
if _, ok := err.(UnknownPeersError); err != nil && ok {
checkWarn(err)
// That update contained a peer we didn't know about; request full update
conn.SendTCP(ProtocolFetchAllByte)
continue
} else if conn.CheckFatal(err) != nil {