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

Temp: Attempt to identify bug in server tests

parent 83a0da7a
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ import (
"google.golang.org/grpc/reflection"
"net"
"runtime/debug"
"strconv"
)
// Server object used to implement endpoints and top-level comms functionality
......@@ -51,7 +52,9 @@ func StartNode(id *id.ID, localServer string, handler Handler,
jww.WARN.Printf("Unable to start consensus node")
return
}
interconnect.StartCMixInterconnect(id, port, handler, certPEMblock, keyPEMblock)
newPort, err := strconv.Atoi(port)
newPort++
interconnect.StartCMixInterconnect(id, string(newPort), handler, certPEMblock, keyPEMblock)
}()
go func() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment