Skip to content
Snippets Groups Projects
Commit 3d8d8d32 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

notificationsBot -> notificationBot

parent 1bf0e976
No related branches found
No related tags found
No related merge requests found
......@@ -371,7 +371,6 @@ github.com/zeebo/pcg v0.0.0-20181207190024-3cdc6b625a05/go.mod h1:Gr+78ptB0MwXxm
github.com/zeebo/pcg v1.0.0 h1:dt+dx+HvX8g7Un32rY9XWoYnd0NmKmrIzpHF7qiTDj0=
github.com/zeebo/pcg v1.0.0/go.mod h1:09F0S9iiKrwn9rlI5yjLkmrug154/YRW6KnnXVDM/l4=
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
gitlab.com/elixxir/comms v0.0.3 h1:7cFvBZddX/8JSY5MvfPpg21niV88IpeqQkoKs15erZM=
gitlab.com/elixxir/comms v0.0.4-0.20210414204605-30cbeab25aaa h1:W2jV8mgiPdKnUAYn7I1Ac94975tqx2WKtCTnVvwvHDU=
gitlab.com/elixxir/comms v0.0.4-0.20210414204605-30cbeab25aaa/go.mod h1:0XsJ63n7knUeSX9BDKQG7xGtX6w0l5WsfplSsMbP9iM=
gitlab.com/elixxir/crypto v0.0.0-20200804182833-984246dea2c4/go.mod h1:ucm9SFKJo+K0N2GwRRpaNr+tKXMIOVWzmyUD0SbOu2c=
......
......@@ -18,7 +18,7 @@ import (
"github.com/golang/protobuf/ptypes"
"github.com/golang/protobuf/ptypes/any"
pb "gitlab.com/elixxir/comms/mixmessages"
"gitlab.com/elixxir/comms/notificationsBot"
"gitlab.com/elixxir/comms/notificationBot"
"gitlab.com/xx_network/comms/connect"
"google.golang.org/grpc"
)
......@@ -33,11 +33,11 @@ type PollingConn interface {
// with a protocomms object.
type NdfPoller struct {
permHost *connect.Host
pc *notificationsBot.Comms
pc *notificationBot.Comms
}
// NewNdfPoller creates a new permconn object with a host and protocomms id.
func NewNdfPoller(pc *notificationsBot.Comms, pHost *connect.Host) NdfPoller {
func NewNdfPoller(pc *notificationBot.Comms, pHost *connect.Host) NdfPoller {
return NdfPoller{
pc: pc,
permHost: pHost,
......
......@@ -18,7 +18,7 @@ import (
//"gitlab.com/elixxir/comms/notificationBot"
"bytes"
"gitlab.com/elixxir/comms/network"
"gitlab.com/elixxir/comms/notificationsBot"
"gitlab.com/elixxir/comms/notificationBot"
"gitlab.com/elixxir/crypto/hash"
"time"
)
......@@ -31,7 +31,7 @@ type Stopper func(timeout time.Duration) bool
type GatewaysChanged func(ndf pb.NDF) []byte
// TrackNdf kicks off the ndf tracking thread
func TrackNdf(i *network.Instance, c *notificationsBot.Comms) Stopper {
func TrackNdf(i *network.Instance, c *notificationBot.Comms) Stopper {
// Handler function for the gateways changed event
gatewayEventHandler := func(ndf pb.NDF) []byte {
jww.DEBUG.Printf("Updating Gateways with new NDF")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment