mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-11 01:29:19 +01:00
brontide: within tests, listen on localhost rather than all interfaces
This commit is contained in:
parent
eb84d34b8d
commit
b3000b621b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func establishTestConnection() (net.Conn, net.Conn, func(), error) {
|
|||
|
||||
// Having a port of ":0" means a random port, and interface will be
|
||||
// chosen for our listener.
|
||||
addr := ":0"
|
||||
addr := "localhost:0"
|
||||
|
||||
// Our listener will be local, and the connection remote.
|
||||
listener, err := NewListener(localPriv, addr)
|
||||
|
|
Loading…
Add table
Reference in a new issue