Skip to content

Commit

Permalink
dkg: fix port handling (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Feb 11, 2025
1 parent e65f4b7 commit c8e7210
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frost-client/src/dkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ pub(crate) async fn dkg_for_ciphersuite<C: Ciphersuite + MaybeIntoEvenY + 'stati
.host_str()
.ok_or_eyre("host missing in URL")?
.to_owned(),
port: server_url_parsed.port().unwrap_or(2744),
port: server_url_parsed
.port_or_known_default()
.expect("always works for https"),
comm_privkey: Some(
config
.communication_key
Expand Down

0 comments on commit c8e7210

Please sign in to comment.