Skip to content

Commit

Permalink
ran clippy and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
econsta committed Nov 16, 2023
1 parent 8f73386 commit d60e8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processor/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ impl PendingActivationsDb {
}
None
}
}
}
2 changes: 1 addition & 1 deletion processor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ async fn run<N: Network, D: Db, Co: Coordinator>(mut raw_db: D, network: N, mut
assert_eq!(msg.id, (last_coordinator_msg.unwrap_or(msg.id - 1) + 1));
last_coordinator_msg = Some(msg.id);


// Only handle this if we haven't already
if HandledMessageDb::get(&main_db, msg.id).is_none() {
HandledMessageDb::set(&mut txn, msg.id, &vec![] as &Vec<u8>);
Expand Down

0 comments on commit d60e8fa

Please sign in to comment.