From 3c5533be3674ba24a184a43344e43bd373672298 Mon Sep 17 00:00:00 2001 From: lambda-0x <0xlambda@protonmail.com> Date: Mon, 4 Nov 2024 02:30:41 +0530 Subject: [PATCH] fix(torii/core): properly update transaction hash while processing pending block commit-id:fd50508d --- crates/torii/core/src/engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/torii/core/src/engine.rs b/crates/torii/core/src/engine.rs index c7dbb99cee..90473c76f4 100644 --- a/crates/torii/core/src/engine.rs +++ b/crates/torii/core/src/engine.rs @@ -733,6 +733,7 @@ impl Engine

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