From a0a9172dac959eb8b4710d1ef38d6434d76ca771 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Sun, 12 Jan 2025 17:25:02 +0100 Subject: [PATCH] Inline Typed2718::ty impl for TxEnvelope --- crates/consensus/src/transaction/envelope.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/consensus/src/transaction/envelope.rs b/crates/consensus/src/transaction/envelope.rs index 3d7d0b8b83a..6bcb1e48198 100644 --- a/crates/consensus/src/transaction/envelope.rs +++ b/crates/consensus/src/transaction/envelope.rs @@ -596,6 +596,7 @@ impl Transaction for TxEnvelope { } impl Typed2718 for TxEnvelope { + #[inline] fn ty(&self) -> u8 { match self { Self::Legacy(tx) => tx.tx().ty(),