Skip to content
Snippets Groups Projects
Commit 6594cc97 authored by Josh Brooks's avatar Josh Brooks
Browse files

Temp: Add logs to debug server testing issue

parent 1523a16e
No related branches found
No related tags found
No related merge requests found
......@@ -52,14 +52,16 @@ func StartNode(id *id.ID, localServer string, handler Handler,
jww.WARN.Printf("Unable to start consensus node")
return
}
jww.INFO.Printf("Starting server on: %s", localServer)
newPort, err := strconv.Atoi(port)
if err != nil {
jww.WARN.Printf("Unable to start consensus node: Unparseable port: %v", err)
return
}
newPort = newPort + 1
interconnectPort := strconv.Itoa(newPort)
jww.INFO.Printf("Starting interconnect on port: %v", newPort)
interconnect.StartCMixInterconnect(id, interconnectPort, handler, certPEMblock, keyPEMblock)
}()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment