remove ID private key from LNDConn struct

This commit is contained in:
Tadge Dryja committed 2016-01-17 11:20:40 -08:00
1 parent 9e5f302288
commit b0a402bc4f
3 files changed
+90 -87

No files matched your search

+3 -2
View File
@@ -155,8 +155,9 @@ out:
// breaks down, then return an error to the
// caller.
ipAddr := addr.NetAddr.String()
conn := lndc.NewConn(s.longTermPriv, nil)
if err := conn.Dial(ipAddr, remoteId); err != nil {
conn := lndc.NewConn(nil)
if err := conn.Dial(
s.longTermPriv, ipAddr, remoteId); err != nil {
msg.reply <- err
}