From 774b0122d85441df0019c7966580f874b857b9ce Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Mon, 11 Nov 2019 09:07:46 -0500 Subject: [PATCH] update to match spec changes --- routing/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/state.go b/routing/state.go index a32882d..3465eee 100644 --- a/routing/state.go +++ b/routing/state.go @@ -11,11 +11,11 @@ import ( ) // The domain string used for routing state records contained in a SignedEnvelope. -const StateEnvelopeDomain = "libp2p-routing-record" +const StateEnvelopeDomain = "libp2p-routing-state" // The type hint used to identify routing state records in a SignedEnvelope. // TODO: register multicodec -var StateEnvelopeTypeHint = []byte("/libp2p/routing-record") +var StateEnvelopeTypeHint = []byte("/libp2p/routing-state-record") // AnnotatedAddr will extend the Multiaddr type with additional metadata, as // extensions are added to the routing state record spec. It's defined now to