-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove variables for testnet v1. #629
Conversation
cmd/addblock/config.go
Outdated
} | ||
if cfg.SimNet { | ||
numNets++ | ||
activeNetParams = &chaincfg.SimNetParams | ||
} | ||
if numNets > 1 { | ||
str := "%s: The testnet, regtest, and simnet params can't be " + | ||
str := "%s: The testnet2, regtest, and simnet params can't be " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"testnet" is the actual name of the parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
cmd/findcheckpoint/config.go
Outdated
} | ||
if cfg.SimNet { | ||
numNets++ | ||
activeNetParams = &chaincfg.SimNetParams | ||
} | ||
if numNets > 1 { | ||
str := "%s: The testnet, regtest, and simnet params can't be " + | ||
str := "%s: The testnet2, regtest, and simnet params can't be " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"testnet" is the actual name of the parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
database/cmd/dbtool/globalconfig.go
Outdated
} | ||
if cfg.SimNet { | ||
numNets++ | ||
activeNetParams = &chaincfg.SimNetParams | ||
} | ||
if numNets > 1 { | ||
return errors.New("The testnet and simnet params can't be " + | ||
return errors.New("The testnet2 and simnet params can't be " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"testnet" is the actual name of the parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Closes #622