From e9d4cb3ecae8ded40f421f6391f4b0b3c9ffa9ad Mon Sep 17 00:00:00 2001
From: David Stainton <dstainton@elixxir.io>
Date: Mon, 29 Aug 2022 15:35:25 -0400
Subject: [PATCH] Fix references to interface type

---
 ud/channelIDTracking.go | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ud/channelIDTracking.go b/ud/channelIDTracking.go
index 6c067e108..81de11b12 100644
--- a/ud/channelIDTracking.go
+++ b/ud/channelIDTracking.go
@@ -4,7 +4,6 @@ import (
 	"crypto/ed25519"
 	"encoding/json"
 	"errors"
-	"math"
 	"sync"
 	"time"
 
@@ -344,9 +343,9 @@ func (c *clientIDTracker) requestChannelLease() (int64, []byte, error) {
 // and returns a reference to it's type as the NameService interface.
 // However it's scheduler thread isn't started until it's Start
 // method is called.
-func (m *Manager) StartChannelNameService() NameService {
+func (m *Manager) StartChannelNameService() channels.NameService {
 	udPubKeyBytes := m.user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.DhPubKey
-	var service NameService
+	var service channels.NameService
 	username, err := m.store.GetUsername()
 	if err != nil {
 		jww.FATAL.Panic(err)
-- 
GitLab