Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
remiroyc committed Sep 20, 2023
1 parent c83d22b commit 7b633fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/ark-indexer/src/managers/block_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<'a, T: StorageManager, C: StarknetClient> BlockManager<'a, T, C> {
if *do_force {
return self.storage.clean_block(block_number).is_ok();
}

match self.storage.get_block_info(block_number) {
Ok(info) => {
if self.indexer_version > info.indexer_version {
Expand Down
4 changes: 3 additions & 1 deletion crates/ark-starknet/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ use std::marker::Sized;
#[async_trait]
pub trait StarknetClient {
///
fn new(rpc_url: &str) -> Result<Self> where Self: Sized;
fn new(rpc_url: &str) -> Result<Self>
where
Self: Sized;

///
async fn block_id_to_u64(&self, id: &BlockId) -> Result<u64>;
Expand Down

0 comments on commit 7b633fa

Please sign in to comment.