Skip to content

Commit

Permalink
chore: bump nim-libp2p, nim-toml-serialization, nim-unicodedb, nim-un…
Browse files Browse the repository at this point in the history
…ittest2, nim-websock, nim-zlib, & nimbus-build-system (#2065)
  • Loading branch information
Ivansete-status authored Sep 22, 2023
1 parent 1c4533a commit dc25057
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion vendor/nim-libp2p
2 changes: 1 addition & 1 deletion vendor/nim-zlib
2 changes: 1 addition & 1 deletion vendor/nimbus-build-system
4 changes: 2 additions & 2 deletions waku/node/waku_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ proc getAutonatService*(rng: ref HmacDrbgContext): AutonatService =
let autonatService = AutonatService.new(
autonatClient = AutonatClient.new(),
rng = rng,
scheduleInterval = some(chronos.seconds(120)),
scheduleInterval = Opt.some(chronos.seconds(120)),
askNewConnectedPeers = false,
numPeersToAsk = 3,
maxQueueSize = 3,
minConfidence = 0.7)

proc statusAndConfidenceHandler(networkReachability: NetworkReachability,
confidence: Option[float]):
confidence: Opt[float]):
Future[void] {.gcsafe, async.} =
if confidence.isSome():
info "Peer reachability status", networkReachability=networkReachability, confidence=confidence.get()
Expand Down

0 comments on commit dc25057

Please sign in to comment.