From 098df3d6b65d321b809631bf9846937869d1ea72 Mon Sep 17 00:00:00 2001
From: Benjamin Wenger <ben@elixxir.ioo>
Date: Thu, 7 Apr 2022 18:18:25 -0700
Subject: [PATCH] minor interface improvements for auth

---
 auth/interface.go | 6 +++---
 auth/state.go     | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/auth/interface.go b/auth/interface.go
index 52b1d9dd3..ac0b1c4b8 100644
--- a/auth/interface.go
+++ b/auth/interface.go
@@ -57,7 +57,7 @@ type State interface {
 	// This will not be useful if either side has ratcheted
 	ReplayConfirm(partner *id.ID) (id.Round, error)
 
-	// ReplayRequests will iterate through all pending contact requests and replay
-	// them on the callbacks.
-	ReplayRequests()
+	// CallReceivedRequests will iterate through all pending contact requests
+	// and replay them on the callbacks.
+	CallReceivedRequests()
 }
diff --git a/auth/state.go b/auth/state.go
index 9c78cc955..ef311d23a 100644
--- a/auth/state.go
+++ b/auth/state.go
@@ -112,9 +112,9 @@ func NewStateLegacy(kv *versioned.KV, net cmix.Client, e2e e2e.Handler,
 	return s, nil
 }
 
-// ReplayRequests will iterate through all pending contact requests and replay
+// CallReceivedRequests will iterate through all pending contact requests and replay
 // them on the callbacks.
-func (s *state) ReplayRequests() {
+func (s *state) CallReceivedRequests() {
 	rrList := s.store.GetAllReceivedRequests()
 	for i := range rrList {
 		rr := rrList[i]
-- 
GitLab