remove ID private key from LNDConn struct
This commit is contained in:
1 parent
9e5f302288
commit
b0a402bc4f
3 files changed
+90
-87
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user