We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07eb121 commit b8a3adaCopy full SHA for b8a3ada
1 file changed
aggregation_mode/src/backend/config.rs
@@ -34,7 +34,7 @@ impl Config {
34
35
pub fn get_last_processed_block(&self) -> Result<u64, Box<dyn std::error::Error>> {
36
match File::open(&self.last_processed_block_filepath) {
37
- Err(_) =>{
+ Err(_) => {
38
// if file doesn't exist, default 0
39
Ok(0)
40
}
@@ -44,7 +44,7 @@ impl Config {
44
let lpb: LastProcessedBlock = serde_json::from_str(&contents)?;
45
Ok(lpb.last_processed_block)
46
47
- }
+ }
48
49
50
pub fn update_last_processed_block(
0 commit comments