server.go + peer: use MessageConn interface instead of brontide.Conn
This commit is contained in:
1 parent
3362c9437b
commit
fada3dd871
4 files changed
+261
-243
No files matched your search
@@ -2946,7 +2946,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
|
||||
// htlcs, an extra block is added to prevent the channel from being
|
||||
// closed when the htlc is outstanding and a new block comes in.
|
||||
pCfg := peer.Config{
|
||||
Conn: conn,
|
||||
Conn: brontideConn,
|
||||
ConnReq: connReq,
|
||||
Addr: peerAddr,
|
||||
Inbound: inbound,
|
||||
|
||||
Reference in new issue
Block a user