diff --git a/crates/blockifier/src/transaction/account_transaction.rs b/crates/blockifier/src/transaction/account_transaction.rs index bc2ab3ececf..7305411a836 100644 --- a/crates/blockifier/src/transaction/account_transaction.rs +++ b/crates/blockifier/src/transaction/account_transaction.rs @@ -229,13 +229,7 @@ impl AccountTransaction { } pub fn signature_length(&self) -> usize { - let signature = match &self.tx { - Transaction::Declare(tx) => tx.signature(), - Transaction::DeployAccount(tx) => tx.signature(), - Transaction::Invoke(tx) => tx.signature(), - }; - - signature.0.len() + self.signature().0.len() } pub fn tx_hash(&self) -> TransactionHash {