@@ -80,10 +80,10 @@ func (c *NetworkConfig) PopulateNetworkConfig(networkID uint32, validatorIDs []i
8080
8181 if networkID == 0 {
8282 // TODO(marun)
83- // - Randomly generate the network id (making sure it isn't a reserved ID)
84- // - Use only the network id (without a datetime suffix) on the filesystem
85- // - Support referring to a network by just the id against a default path
86- // - e.g. ~/.testnetctl/networks/[network id ]
83+ // - Randomly generate the network ID (making sure it isn't a reserved ID)
84+ // - Use only the network ID (without a datetime suffix) on the filesystem
85+ // - Support referring to a network by just the ID against a default path
86+ // - e.g. ~/.testnetctl/networks/[network ID ]
8787 networkID = uint32 (1337 )
8888 }
8989
@@ -201,13 +201,13 @@ func (nc *NodeConfig) EnsureStakingKeypair() error {
201201
202202 err = nc .EnsureNodeID ()
203203 if err != nil {
204- return fmt .Errorf ("failed to derive a node id : %w" , err )
204+ return fmt .Errorf ("failed to derive a node ID : %w" , err )
205205 }
206206
207207 return nil
208208}
209209
210- // Attempt to derive the node id from the node configuration.
210+ // Attempt to derive the node ID from the node configuration.
211211func (nc * NodeConfig ) EnsureNodeID () error {
212212 flags := nc .Flags
213213 keyKey := cfg .StakingTLSKeyContentKey
@@ -344,7 +344,7 @@ func NewTestGenesis(
344344 return nil , fmt .Errorf ("failed to format reward address: %w" , err )
345345 }
346346
347- // Configure provided validator node ids as initial stakers
347+ // Configure provided validator node IDs as initial stakers
348348 for _ , validatorID := range validatorIDs {
349349 config .InitialStakers = append (
350350 config .InitialStakers ,
0 commit comments