mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-28 18:23:14 +00:00
use 127.0.0.1 for these tests
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
ff78aaffeb
commit
2a0ee369f1
@ -1163,7 +1163,7 @@ proc newProtocol*(
|
||||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||
previousRecord = none[SignedPeerRecord](),
|
||||
bindPort: Port,
|
||||
bindIp = IPv4_any(),
|
||||
bindIp = IPv4_loopback(),
|
||||
enrAutoUpdate = false,
|
||||
config = defaultDiscoveryConfig,
|
||||
rng = newRng(),
|
||||
@ -1230,7 +1230,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…
x
Reference in New Issue
Block a user