Browse Source

ready to finishing peer caps.

skyfffire 2 năm trước cách đây
mục cha
commit
d712a1607a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      p2p/server.go

+ 2 - 1
p2p/server.go

@@ -123,7 +123,8 @@ running:
 
 			break running
 		case c := <-server.checkpointPostHandshake:
-			fmt.Printf("checkpointPostHandshake: %v\n", c.name)
+			p := server.launchPeer(c)
+			fmt.Printf("launchPeer: %v\n", p.rw.name)
 		case c := <-server.checkpointAddPeer:
 			fmt.Printf("checkpointAddPeer: %v.\n", c.name)
 		}