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

This commit is contained in:
Tadge Dryja authored and Olaoluwa Osuntokun committed 2016-01-14 23:56:08 -08:00
1 parent 8bd8293c8c
commit e70c6aa367
6 files changed
+759 -2

No files matched your search

+8 -1
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
}