cosmetic
This commit is contained in:
1 parent
a94ae91921
commit
11ccf4bbcb
1 file changed
+2
-1
+2
-1
@@ -481,7 +481,8 @@ 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 {
|
||||
// That update contained a peer we didn't know about; request full update
|
||||
// That update contained a peer we didn't know about;
|
||||
// request full update
|
||||
conn.SendTCP(ProtocolFetchAllByte)
|
||||
continue
|
||||
} else if conn.CheckFatal(err) != nil {
|
||||
|
||||
Reference in new issue
Block a user