config: edit error strings to account for signet option

This commit is contained in:
Elle Mouton authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent 1211e7eb7b
commit 53b33c75c4
1 file changed
+3 -3
+3 -3
View File
@@ -1204,9 +1204,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)
}
@@ -1215,7 +1215,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)