Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
nonfunctional: improve comments to trigger new build
Browse files Browse the repository at this point in the history
  • Loading branch information
whilei committed Nov 7, 2017
1 parent 5dbeb75 commit b3113bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/geth/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ func mustMakeChainIdentity(ctx *cli.Context) (identity string) {
}

if chainIsMorden(ctx) {
identity = core.DefaultConfigMorden.Identity // this makes '--testnet', '--chain=testnet', and '--chain=morden' all use the same /morden subdirectory, if --chain isn't specified
// This makes '--testnet', '--chain=testnet', and '--chain=morden' all use the same /morden subdirectory, if --chain isn't specified
identity = core.DefaultConfigMorden.Identity
return identity
}
// If --chain is in use.
Expand All @@ -169,7 +170,7 @@ func mustMakeChainIdentity(ctx *cli.Context) (identity string) {
identity = core.DefaultConfigMainnet.Identity
return identity
}
// Check for unallowed values.
// Check for disallowed values.
if chainIdentitiesBlacklist[chainFlagVal] {
glog.Fatalf(`%v: %v: reserved word
reserved words for --chain flag include: 'chaindata', 'dapp', 'keystore', 'nodekey', 'nodes',
Expand Down

0 comments on commit b3113bc

Please sign in to comment.