Skip to content

Commit

Permalink
Fix constant
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Feb 13, 2024
1 parent ba59291 commit 8680d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthesizer/src/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl<N: Network, C: ConsensusStorage<N>> VM<N, C> {
atomic_lock: Arc::new(Mutex::new(())),
block_lock: Arc::new(Mutex::new(())),
partially_verified_transactions: Arc::new(RwLock::new(LruCache::new(
NonZeroUsize::new(Transactions::<console::network::Testnet3>::MAX_TRANSACTIONS).unwrap(),
NonZeroUsize::new(Transactions::<N>::MAX_TRANSACTIONS).unwrap(),
))),
})
}
Expand Down

0 comments on commit 8680d90

Please sign in to comment.