Эх сурвалжийг харах

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 жил өмнө
parent
commit
72d8878084
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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)