From 3360d285fbec15e558f0af65ab3c8439558be40a Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 18 Nov 2024 11:24:16 -0300 Subject: [PATCH] config: improve error message Previously, the error message had one missing space: "... either --bitcoin.mainnet, or bitcoin.testnet,bitcoin.simnet, ..." I added a space after "bitcoin.testnet,". --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index fa2575d28..04a491765 100644 --- a/config.go +++ b/config.go @@ -1261,7 +1261,7 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser, // The target network must be provided, otherwise, we won't // know how to initialize the daemon. if numNets == 0 { - str := "either --bitcoin.mainnet, or bitcoin.testnet," + + str := "either --bitcoin.mainnet, or bitcoin.testnet, " + "bitcoin.simnet, bitcoin.regtest or bitcoin.signet " + "must be specified"