Skip to content

Commit

Permalink
client: fix minor typo ("exhuasted") (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon authored Sep 18, 2021
1 parent 1b983d6 commit 072ac4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/nat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ impl<'a> NatTraverse<'a> {
}

pub fn step(&mut self) -> Result<(), Error> {
let exhuasted = self.refresh_remaining()?;
let exhausted = self.refresh_remaining()?;

// Reset peer endpoints that had no viable candidates back to the server-reported one, if it exists.
let reset_updates = exhuasted
let reset_updates = exhausted
.into_iter()
.filter_map(|peer| set_endpoint(&peer.public_key, peer.endpoint.as_ref()));

Expand Down

0 comments on commit 072ac4b

Please sign in to comment.