Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Sep 3, 2024
1 parent 4bcd207 commit b8175a6
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 389 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3145,7 +3145,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 b8175a6

Please sign in to comment.