Explorar el Código

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
Martin Holst Swende hace 6 años
padre
commit
1528b791ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      node/config.go

+ 1 - 1
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 {