Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Viacheslav <viacheslavgonkivskyi@gmail.com>
  • Loading branch information
Wondertan and vgonkivs authored Oct 11, 2023
1 parent 3c03a02 commit 765fd28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ 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))
}
return base
}

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)
}
Expand Down

0 comments on commit 765fd28

Please sign in to comment.