Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CHr15F0x committed Sep 23, 2022
1 parent da0cd75 commit 6eda060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/pathfinder/src/storage/schema/revision_0020.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ fn process_transaction(
let contract_address = *transaction.contract_address().get();

// remove transfer events
receipt.events.retain(|e| !is_transfer_event(contract_address, e));
receipt
.events
.retain(|e| !is_transfer_event(contract_address, e));

if num_events != receipt.events.len() {
update_database(tx, compressor, transaction_hash, block_number, receipt)?;
Expand Down

0 comments on commit 6eda060

Please sign in to comment.