Skip to content
Snippets Groups Projects

Control node reg

Merged Benjamin Wenger requested to merge controlNodeReg into release
+ 0
21
@@ -11,7 +11,6 @@ import (
"crypto/ed25519"
"encoding/base64"
"encoding/json"
jww "github.com/spf13/jwalterweatherman"
"sync"
"time"
@@ -235,16 +234,6 @@ func NewChannelsManagerGoEventModel(cmixID int, privateIdentity []byte,
return nil, err
}
// fixme: remove this, make it called by the javascript
// hack to get to release late at night
go func() {
time.Sleep(3 * time.Second)
localErr := user.IncreaseParallelNodeRegistration(13)
if localErr != nil {
jww.ERROR.Printf(localErr.Error())
}
}()
// Add channel to singleton and return
return channelManagerTrackerSingleton.make(m), nil
}
@@ -278,16 +267,6 @@ func LoadChannelsManagerGoEventModel(cmixID int, storageTag string,
return nil, err
}
// fixme: remove this, make it called by the javascript
// hack to get to release late at night
go func() {
time.Sleep(3 * time.Second)
localErr := user.IncreaseParallelNodeRegistration(13)
if localErr != nil {
jww.ERROR.Printf(localErr.Error())
}
}()
// Add channel to singleton and return
return channelManagerTrackerSingleton.make(m), nil
}
Loading