diff --git a/crates/aot/src/ledger/util.rs b/crates/aot/src/ledger/util.rs index 036e204e..495f38a5 100644 --- a/crates/aot/src/ledger/util.rs +++ b/crates/aot/src/ledger/util.rs @@ -261,7 +261,7 @@ pub fn gen_n_tx<'a, C: ConsensusStorage>( private_keys: &'a PrivateKeys, num_tx: u64, max_tx_credits: Option, - pivate_txs_disabled: bool, + private_txs_disabled: bool, ) -> impl Iterator> + 'a { let tx_span = span!(Level::INFO, "tx generation"); (0..num_tx) @@ -283,7 +283,7 @@ pub fn gen_n_tx<'a, C: ConsensusStorage>( let proof_span = span!(Level::INFO, "tx generation proof"); let _enter = proof_span.enter(); - if pivate_txs_disabled || rng.gen_range(0..10) > 3 { + if private_txs_disabled || rng.gen_range(0..10) > 3 { // generate public transactions 70% of the time make_transaction_proof::<_, _, AleoV0>( ledger.vm(),