From 765fd28edff4c1a784f50485d89166c4de2b6dd4 Mon Sep 17 00:00:00 2001 From: Hlib Kanunnikov Date: Wed, 11 Oct 2023 15:06:58 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Viacheslav --- p2p/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/helpers.go b/p2p/helpers.go index 1ad0d067..1ca110ad 100644 --- a/p2p/helpers.go +++ b/p2p/helpers.go @@ -18,7 +18,7 @@ import ( ) func protocolID(networkID string) protocol.ID { - base := protocol.ID("/header-ex/v0.0.3") + base := protocol.ID("header-ex/v0.0.3") if networkID != "" { base = protocol.ID(fmt.Sprintf("/%s/%s", networkID, base)) } @@ -26,7 +26,7 @@ func protocolID(networkID string) protocol.ID { } func PubsubTopicID(networkID string) string { - base := "/header-sub/v0.0.1" + base := "header-sub/v0.0.1" if networkID != "" { base = fmt.Sprintf("/%s/%s", networkID, base) }