Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Dec 30, 2024
1 parent 72cd05b commit 47374aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions grovedb/src/replication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,7 @@ impl GroveDb {
));
}

println!(
" starting:{:?}...",
utils::path_to_string(&[])
);
println!(" starting:{:?}...", utils::path_to_string(&[]));

let root_prefix = [0u8; 32];

Expand Down
7 changes: 2 additions & 5 deletions grovedb/src/replication/state_sync_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use grovedb_storage::{
use grovedb_version::version::GroveVersion;

use super::{
utils::{encode_global_chunk_id, path_to_string, decode_vec_ops},
utils::{decode_vec_ops, encode_global_chunk_id, path_to_string},
CURRENT_STATE_SYNC_VERSION,
};
use crate::{replication, Element, Error, GroveDb, Transaction};
Expand Down Expand Up @@ -312,10 +312,7 @@ impl<'db> MultiStateSyncSession<'db> {
let mut next_chunk_ids = vec![];

let (chunk_prefix, _, _, chunk_id) =
replication::utils::decode_global_chunk_id(
global_chunk_id,
&self.app_hash,
)?;
replication::utils::decode_global_chunk_id(global_chunk_id, &self.app_hash)?;

if self.is_empty() {
return Err(Error::InternalError(
Expand Down

0 comments on commit 47374aa

Please sign in to comment.