Skip to content
Snippets Groups Projects
Commit 377549f0 authored by benjamin's avatar benjamin
Browse files

removed bad refrences

parent e1ca8879
No related branches found
No related tags found
2 merge requests!510Release,!432Control node reg
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment