this is how the daemon actually finds the reflector peer port

This commit is contained in:
Alex Grintsvayg 2019-01-29 14:33:55 -05:00
parent 030ed4914d
commit a8fe33ecf4
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -40,7 +40,7 @@ func testCmd(cmd *cobra.Command, args []string) {
} }
peerServer := peer.NewServer(memStore) peerServer := peer.NewServer(memStore)
err = peerServer.Start(":5567") err = peerServer.Start(":" + strconv.Itoa(reflector.DefaultPort+1))
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }