trying to store private identity key. Doesn't work.

This commit is contained in:
Tadge Dryja
2015-12-31 01:40:41 -04:00
committed by Olaoluwa Osuntokun
parent 8bd8293c8c
commit e70c6aa367
6 changed files with 759 additions and 2 deletions

View File

@@ -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
}