Skip to content

Commit

Permalink
fix(aot): var name
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Apr 8, 2024
1 parent 8926bbe commit 2ba5303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/aot/src/ledger/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ pub fn gen_n_tx<'a, C: ConsensusStorage<crate::Network>>(
private_keys: &'a PrivateKeys,
num_tx: u64,
max_tx_credits: Option<u64>,
pivate_txs_disabled: bool,
private_txs_disabled: bool,
) -> impl Iterator<Item = Result<CannonTx>> + 'a {
let tx_span = span!(Level::INFO, "tx generation");
(0..num_tx)
Expand All @@ -283,7 +283,7 @@ pub fn gen_n_tx<'a, C: ConsensusStorage<crate::Network>>(
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(),
Expand Down

0 comments on commit 2ba5303

Please sign in to comment.