Selaa lähdekoodia

cmd/mist: always enable whisper

The default value of the Shh option is true, but cli can't
see it because it is not part of the mist options.
Felix Lange 10 vuotta sitten
vanhempi
commit
72d8878084
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      cmd/mist/main.go

+ 1 - 0
cmd/mist/main.go

@@ -116,6 +116,7 @@ func run(ctx *cli.Context) {
 
 	// TODO: show qml popup instead of exiting if initialization fails.
 	cfg := utils.MakeEthConfig(ClientIdentifier, nodeNameVersion, ctx)
+	cfg.Shh = true
 	ethereum, err := eth.New(cfg)
 	if err != nil {
 		utils.Fatalf("%v", err)