Skip to content

Commit

Permalink
Inline Typed2718::ty impl for TxEnvelope
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jan 12, 2025
1 parent 385ebcd commit a0a9172
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/consensus/src/transaction/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit a0a9172

Please sign in to comment.