Skip to content
Snippets Groups Projects
Commit 88c78a71 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed a bad push

parent 33579b97
No related branches found
No related tags found
1 merge request!53Release
......@@ -43,7 +43,7 @@ type RegisterNodeCommsInterface interface {
}
func StartRegistration(sender *gateway.Sender, session *storage.Session, rngGen *fastRNG.StreamGenerator, comms RegisterNodeCommsInterface,
c chan network.NodeGateway, numParallel uint, networkInstance *network.Instance) stoppable.Stoppable {
c chan network.NodeGateway, numParallel uint) stoppable.Stoppable {
multi := stoppable.NewMulti("NodeRegistrations")
......@@ -52,7 +52,7 @@ func StartRegistration(sender *gateway.Sender, session *storage.Session, rngGen
for i := uint(0); i < numParallel; i++ {
stop := stoppable.NewSingle(fmt.Sprintf("NodeRegistration %d", i))
go registerNodes(sender, session, rngGen, comms, stop, c, inProgess, networkInstance)
go registerNodes(sender, session, rngGen, comms, stop, c, inProgess)
multi.Add(stop)
}
......@@ -61,8 +61,7 @@ func StartRegistration(sender *gateway.Sender, session *storage.Session, rngGen
func registerNodes(sender *gateway.Sender, session *storage.Session,
rngGen *fastRNG.StreamGenerator, comms RegisterNodeCommsInterface,
stop *stoppable.Single, c chan network.NodeGateway, inProgress *sync.Map,
networkInstance *network.Instance) {
stop *stoppable.Single, c chan network.NodeGateway, inProgress *sync.Map) {
u := session.User()
regSignature := u.GetTransmissionRegistrationValidationSignature()
// Timestamp in which user has registered with registration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment