Skip to content

Commit

Permalink
pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfirefist committed Jan 29, 2024
1 parent 87e7466 commit 4927cf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fortuna/src/api/revelation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ use {
pythnet_sdk::wire::array,
serde_with::serde_as,
tokio::try_join,
url::Url,
utoipa::{
IntoParams,
ToSchema,
},
url::Url,
};

/// Reveal the random value for a given sequence number and blockchain.
Expand Down Expand Up @@ -163,7 +163,7 @@ impl Blob {
// The path and revelation API are highly coupled. Please be sure to keep them consistent.
pub fn get_register_uri(base_uri: &str, chain_id: &str) -> Result<String> {
let base_uri = Url::parse(base_uri)?;
let path =format!("/v1/chains/{0}", chain_id);
let path = format!("/v1/chains/{0}", chain_id);
let uri = base_uri.join(&path)?;
Ok(uri.to_string())
}

0 comments on commit 4927cf7

Please sign in to comment.