Skip to content

Commit

Permalink
chore: make tx_hash member private
Browse files Browse the repository at this point in the history
  • Loading branch information
ArniStarkware committed Aug 12, 2024
1 parent 3cdd457 commit 421e398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/blockifier/src/transaction/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub trait ValidatableTransaction {
#[derive(Clone, Debug)]
pub struct DeclareTransaction {
pub tx: starknet_api::transaction::DeclareTransaction,
pub tx_hash: TransactionHash,
tx_hash: TransactionHash,
// Indicates the presence of the only_query bit in the version.
only_query: bool,
pub class_info: ClassInfo,
Expand Down Expand Up @@ -310,7 +310,7 @@ impl TransactionInfoCreator for DeclareTransaction {
#[derive(Debug, Clone)]
pub struct DeployAccountTransaction {
pub tx: starknet_api::transaction::DeployAccountTransaction,
pub tx_hash: TransactionHash,
tx_hash: TransactionHash,
pub contract_address: ContractAddress,
// Indicates the presence of the only_query bit in the version.
pub only_query: bool,
Expand Down Expand Up @@ -416,7 +416,7 @@ impl TransactionInfoCreator for DeployAccountTransaction {
#[derive(Debug, Clone)]
pub struct InvokeTransaction {
pub tx: starknet_api::transaction::InvokeTransaction,
pub tx_hash: TransactionHash,
tx_hash: TransactionHash,
// Indicates the presence of the only_query bit in the version.
pub only_query: bool,
}
Expand Down

0 comments on commit 421e398

Please sign in to comment.