Skip to content

Commit

Permalink
Update src/client/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: greged93 <82421016+greged93@users.noreply.github.com>
  • Loading branch information
tcoratger and greged93 committed Sep 5, 2024
1 parent 1a6e85c commit 4cd4edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl<SP> EthClient<SP>
where
SP: Provider + Clone + Sync + Send,
{
/// Tries to start a [`EthClient`] by fetching the current chain id, initializing a [`EthDataProvider`] and a `Pool`.
/// Tries to start a [`EthClient`] by fetching the current chain id, initializing a [`EthDataProvider`] and a [`Pool`].
pub async fn try_new(starknet_provider: SP, database: Database) -> eyre::Result<Self> {
let chain = (starknet_provider.chain_id().await.map_err(KakarotError::from)?.to_bigint()
& Felt::from(u32::MAX).to_bigint())
Expand Down

0 comments on commit 4cd4edc

Please sign in to comment.