Skip to content

Commit

Permalink
Merge pull request #2214 from dusk-network/fix-tx-events
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia authored Aug 27, 2024
2 parents 76698f2 + f687526 commit 089c8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-data/src/events/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 089c8a6

Please sign in to comment.