We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc7318 commit 8f4de6fCopy full SHA for 8f4de6f
iroh-pkarr-node-discovery/src/lib.rs
@@ -80,7 +80,7 @@ impl<'a> Builder<'a> {
80
81
/// Build the discovery mechanism.
82
pub fn build(self) -> PkarrNodeDiscovery {
83
- let client = self.client.unwrap_or_else(PkarrClient::new);
+ let client = self.client.unwrap_or_default();
84
PkarrNodeDiscovery::new(client, self.secret_key)
85
}
86
0 commit comments