Skip to content

Commit

Permalink
style: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladopajic committed Feb 13, 2025
1 parent 3e999f6 commit 0b53b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libp2p/services/autorelayservice.nim
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ proc innerRun(

if self.relayPeers.len() > 0:
try:
await one(toSeq(self.relayPeers.values())) or self.peerAvailable.wait()
await one(toSeq(self.relayPeers.values())) or self.peerAvailable.wait()
except ValueError:
raiseAssert "checked with relayPeers.len()"
raiseAssert "checked with relayPeers.len()"
else:
await self.peerAvailable.wait()

Expand Down

0 comments on commit 0b53b9d

Please sign in to comment.