Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Sep 24, 2024
1 parent ad91d5f commit 7b2d118
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 388 deletions.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3170,7 +3170,7 @@ impl AccountsDb {
.map(|dirty_store_chunk| {
let mut oldest_dirty_slot = max_slot_inclusive.saturating_add(1);
dirty_store_chunk.iter().for_each(|(slot, store)| {
if slot < &oldest_non_ancient_slot {
if *slot < oldest_non_ancient_slot {
dirty_ancient_stores.fetch_add(1, Ordering::Relaxed);
}
oldest_dirty_slot = oldest_dirty_slot.min(*slot);
Expand Down
1 change: 1 addition & 0 deletions svm/examples/json-rpc/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use {

pub mod rpc_process;
pub mod rpc_service;
pub mod svm_bridge;

fn main() {
env_logger::init();
Expand Down
Loading

0 comments on commit 7b2d118

Please sign in to comment.