Skip to content

Commit

Permalink
fix(torii/core): properly update transaction hash while processing pe…
Browse files Browse the repository at this point in the history
…nding block

commit-id:fd50508d
  • Loading branch information
lambda-0x committed Nov 13, 2024
1 parent 39233db commit 3c5533b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/torii/core/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ impl<P: Provider + Send + Sync + std::fmt::Debug + 'static> Engine<P> {

for contract in unique_contracts {
let entry = cursor_map.entry(contract).or_insert((*transaction_hash, 0));
entry.0 = *transaction_hash;
entry.1 += 1;
}

Expand Down

0 comments on commit 3c5533b

Please sign in to comment.