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
Branches
Tags
No related merge requests found
...@@ -52,14 +52,16 @@ func StartNode(id *id.ID, localServer string, handler Handler, ...@@ -52,14 +52,16 @@ func StartNode(id *id.ID, localServer string, handler Handler,
jww.WARN.Printf("Unable to start consensus node") jww.WARN.Printf("Unable to start consensus node")
return return
} }
jww.INFO.Printf("Starting server on: %s", localServer)
newPort, err := strconv.Atoi(port) newPort, err := strconv.Atoi(port)
if err != nil { if err != nil {
jww.WARN.Printf("Unable to start consensus node: Unparseable port: %v", err) jww.WARN.Printf("Unable to start consensus node: Unparseable port: %v", err)
return return
} }
newPort = newPort + 1 newPort = newPort + 1
interconnectPort := strconv.Itoa(newPort) interconnectPort := strconv.Itoa(newPort)
jww.INFO.Printf("Starting interconnect on port: %v", newPort)
interconnect.StartCMixInterconnect(id, interconnectPort, handler, certPEMblock, keyPEMblock) 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