From 1b4c128c882451788221b1518b84f10df234d456 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 1 Oct 2019 11:51:39 -0700 Subject: [PATCH] [p2p] add hmy prefix for testnet/pangaea Signed-off-by: Leo Chen --- internal/configs/node/group.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/configs/node/group.go b/internal/configs/node/group.go index a94f2f7a8..f738eb3b1 100644 --- a/internal/configs/node/group.go +++ b/internal/configs/node/group.go @@ -38,15 +38,15 @@ func getNetworkPrefix(shardID ShardID) (netPre string) { case Mainnet: netPre = "harmony" case Testnet: - netPre = "testnet" + netPre = "hmy/testnet" case Pangaea: - netPre = "pangaea" + netPre = "hmy/pangaea" case Devnet: - netPre = "devnet" + netPre = "hmy/devnet" case Localnet: - netPre = "local" + netPre = "hmy/local" default: - netPre = "misc" + netPre = "hmy/misc" } return }