diff --git a/cmd/lotus-shed/hello.go b/cmd/lotus-shed/hello.go index 757170831..fee822961 100644 --- a/cmd/lotus-shed/hello.go +++ b/cmd/lotus-shed/hello.go @@ -59,11 +59,7 @@ var helloCmd = &cli.Command{ if err != nil { return err } - priv, _, err := crypto.GenerateKeyPair(crypto.RSA, 2048) - if err != nil { - return err - } - h, err := libp2p.New(libp2p.Identity(priv)) + h, err := libp2p.New() if err != nil { return err }