mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-02 13:33:08 +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
fd317a55cb
commit
70c2d28b89
@ -1032,7 +1032,7 @@ proc newProtocol*(
|
||||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||
previousRecord = none[SignedPeerRecord](),
|
||||
bindPort: Port,
|
||||
bindIp = IPv4_any(),
|
||||
bindIp = IPv4_loopback(),
|
||||
enrAutoUpdate = false,
|
||||
config = defaultDiscoveryConfig,
|
||||
rng = newRng(),
|
||||
@ -1099,7 +1099,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)
|
||||
|
||||
@ -260,7 +260,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