From 377549f0132442a01a3759db2e3bf5c4ba931756 Mon Sep 17 00:00:00 2001 From: benjamin <ben@elixxir.io> Date: Thu, 27 Oct 2022 10:33:53 -0700 Subject: [PATCH] removed bad refrences --- bindings/channels.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/bindings/channels.go b/bindings/channels.go index 78182a190..f58af9602 100644 --- a/bindings/channels.go +++ b/bindings/channels.go @@ -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 } -- GitLab