From 1528b791ac81203aa5019d091f10ae6a0dde53a8 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Fri, 12 Apr 2019 10:18:03 +0200 Subject: [PATCH] node: do not continue if 'signer' is used but connection fails (#19441) This makes geth fails instead of falling back to local keystore, if the command line flag `--signer` is used --- node/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/config.go b/node/config.go index 244b15459..43ee5ec21 100644 --- a/node/config.go +++ b/node/config.go @@ -482,7 +482,7 @@ func makeAccountManager(conf *Config) (*accounts.Manager, string, error) { if extapi, err := external.NewExternalBackend(conf.ExternalSigner); err == nil { backends = append(backends, extapi) } else { - log.Info("Error configuring external signer", "error", err) + return nil, "", fmt.Errorf("error connecting to external signer: %v", err) } } if len(backends) == 0 {