From f68752614034cf4a6d58817cdd2787d7913138d4 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Tue, 27 Aug 2024 14:14:42 +0200 Subject: [PATCH] node-data: fix transaction entity --- node-data/src/events/transactions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-data/src/events/transactions.rs b/node-data/src/events/transactions.rs index c94b56bbab..1577352341 100644 --- a/node-data/src/events/transactions.rs +++ b/node-data/src/events/transactions.rs @@ -50,8 +50,8 @@ impl EventSource for TransactionEvent<'_> { fn entity(&self) -> String { let hash = match self { Self::Removed(hash) => *hash, - Self::Executed(tx) => tx.inner.hash(), - Self::Included(tx) => tx.hash(), + Self::Executed(tx) => tx.inner.id(), + Self::Included(tx) => tx.id(), }; hex::encode(hash) }