Skip to content

Commit

Permalink
remove unused parameters
Browse files Browse the repository at this point in the history
commit-id:46e98ebc
  • Loading branch information
lambda-0x committed Aug 29, 2024
1 parent a2fb8ce commit 3fb2fb4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/torii/core/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ impl<P: Provider + Sync> Engine<P> {
match self
.process_transaction_with_receipt(
*transaction.transaction_hash(),
// &transaction,
block_number,
block.timestamp,
)
Expand Down Expand Up @@ -326,7 +325,6 @@ impl<P: Provider + Sync> Engine<P> {

self.process_transaction_with_events(
transaction_hash,
// &transaction,
events.as_slice(),
block_number,
blocks[&block_number],
Expand Down Expand Up @@ -367,7 +365,6 @@ impl<P: Provider + Sync> Engine<P> {
async fn process_transaction_with_events(
&mut self,
transaction_hash: Felt,
// transaction: &Transaction,
events: &[&EmittedEvent],
block_number: u64,
block_timestamp: u64,
Expand Down Expand Up @@ -410,7 +407,6 @@ impl<P: Provider + Sync> Engine<P> {
async fn process_transaction_with_receipt(
&mut self,
transaction_hash: Felt,
// transaction: &Transaction,
block_number: u64,
block_timestamp: u64,
) -> Result<bool> {
Expand Down

0 comments on commit 3fb2fb4

Please sign in to comment.