use 127.0.0.1 for these tests
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
589a878985
commit
0d20e371b1
|
@ -1302,7 +1302,7 @@ proc newProtocol*(
|
|||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||
previousRecord = none[SignedPeerRecord](),
|
||||
bindPort: Port,
|
||||
bindIp = IPv4_any(),
|
||||
bindIp = IPv4_loopback(),
|
||||
enrAutoUpdate = false,
|
||||
config = defaultDiscoveryConfig,
|
||||
rng = newRng(),
|
||||
|
@ -1369,7 +1369,7 @@ proc newProtocol*(
|
|||
bindPort: Port,
|
||||
record: SignedPeerRecord,
|
||||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||
bindIp = IPv4_any(),
|
||||
bindIp = IPv4_loopback(),
|
||||
config = defaultDiscoveryConfig,
|
||||
rng = newRng(),
|
||||
providers = ProvidersManager.new(SQLiteDatastore.new(Memory)
|
||||
|
|
|
@ -205,7 +205,7 @@ proc newTransport*[T](
|
|||
privKey: PrivateKey,
|
||||
localNode: Node,
|
||||
bindPort: Port,
|
||||
bindIp = IPv4_any(),
|
||||
bindIp = IPv4_loopback(), ## we could use 127.0.0.1 here for local tests
|
||||
rng = newRng()): Transport[T]=
|
||||
|
||||
# TODO Consider whether this should be a Defect
|
||||
|
|
Loading…
Reference in New Issue