mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
trying to store private identity key. Doesn't work.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
8bd8293c8c
commit
e70c6aa367
@@ -57,7 +57,14 @@ func LnConnect(args []string) error {
|
||||
// LnListen listens on the default port for incoming connections
|
||||
func LnListen(args []string) error {
|
||||
|
||||
fmt.Printf("will start TCP port listener\n")
|
||||
req := new(lnrpc.TCPListenRequest)
|
||||
req.Hostport = "0.0.0.0:2448"
|
||||
_, err := z.TCPListen(stub, req)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("started TCP port listener\n")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user