From 29bec833f315956bee38f649d99f4956ed562e14 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 12 Nov 2018 08:16:47 -0500 Subject: [PATCH] Update moniker prefix --- PENDING.md | 2 +- cmd/gaia/init/init.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PENDING.md b/PENDING.md index dd092f5ce1..73c832c017 100644 --- a/PENDING.md +++ b/PENDING.md @@ -34,7 +34,7 @@ IMPROVEMENTS * [\#2749](https://github.com/cosmos/cosmos-sdk/pull/2749) Add --chain-id flag to gaiad testnet * Gaia - * Generate random moniker on `gaiad init` if one was not provided. + * Generate a random moniker on `gaiad init` if one was not provided. * SDK - [x/mock/simulation] [\#2720] major cleanup, introduction of helper objects, reorganization diff --git a/cmd/gaia/init/init.go b/cmd/gaia/init/init.go index 5536a4fa9c..ece9efb9a6 100644 --- a/cmd/gaia/init/init.go +++ b/cmd/gaia/init/init.go @@ -64,7 +64,7 @@ func InitCmd(ctx *server.Context, cdc *codec.Codec, appInit server.AppInit) *cob moniker := viper.GetString(flagMoniker) if moniker == "" { - moniker = fmt.Sprintf("node-%v", common.RandStr(6)) + moniker = fmt.Sprintf("gaianode-%v", common.RandStr(6)) } config.Moniker = moniker