From 53b33c75c48a6119cd0be06987a443d9f9d42007 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Tue, 5 Sep 2023 11:49:48 +0200 Subject: [PATCH] config: edit error strings to account for signet option --- config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index a35547cf0..51aa2e840 100644 --- a/config.go +++ b/config.go @@ -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)