Skip to content

Commit

Permalink
Update semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Sep 20, 2023
1 parent 24f9427 commit c0bcaca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chaindexing/src/events_ingester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl EventsIngester {
ChaindexingRepo::get_contract_addresses_stream(conn.clone()).await;

while let Some(contract_addresses) = contract_addresses_stream.next().await {
let contract_addresses = Self::get_only_uningested_contract_addresses(
let contract_addresses = Self::filter_uningested_contract_addresses(
&contract_addresses,
current_block_number,
);
Expand Down Expand Up @@ -164,7 +164,7 @@ impl EventsIngester {
.await;
}

fn get_only_uningested_contract_addresses(
fn filter_uningested_contract_addresses(
contract_addresses: &Vec<ContractAddress>,
current_block_number: u64,
) -> Vec<ContractAddress> {
Expand Down

0 comments on commit c0bcaca

Please sign in to comment.