From 37987396db098af4c7788f5bdd1af50ef3f7557c Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Fri, 8 Nov 2019 11:12:14 -0500 Subject: [PATCH] fix doc comment --- host/helpers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/host/helpers.go b/host/helpers.go index e045631..aa83447 100644 --- a/host/helpers.go +++ b/host/helpers.go @@ -21,7 +21,8 @@ func RoutingStateFromHost(h Host) *routing.RoutingState { return routing.RoutingStateFromAddrInfo(InfoFromHost(h)) } -// SignedRoutingStateFromHost +// SignedRoutingStateFromHost wraps a routing.RoutingState record in a +// SignedEnvelope, signed with the Host's private key. func SignedRoutingStateFromHost(h Host) (*crypto.SignedEnvelope, error) { privKey := h.Peerstore().PrivKey(h.ID()) if privKey == nil {