Skip to content

Commit

Permalink
config: edit error strings to account for signet option
Browse files Browse the repository at this point in the history
  • Loading branch information
ellemouton authored and yyforyongyu committed Sep 9, 2023
1 parent 548eaec commit e895b48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1201,9 +1201,9 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser,
cfg.ActiveNetParams.Params = &chainParams
}
if numNets > 1 {
str := "The mainnet, testnet, regtest, and simnet " +
str := "The mainnet, testnet, regtest, simnet and signet " +
"params can't be used together -- choose one " +
"of the four"
"of the five"

return nil, mkErr(str)
}
Expand All @@ -1212,7 +1212,7 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser,
// know how to initialize the daemon.
if numNets == 0 {
str := "either --bitcoin.mainnet, or bitcoin.testnet," +
"bitcoin.simnet, or bitcoin.regtest " +
"bitcoin.simnet, bitcoin.regtest or bitcoin.signet " +
"must be specified"

return nil, mkErr(str)
Expand Down

0 comments on commit e895b48

Please sign in to comment.