From d60e8fa9ad2bf40d3624fb5b155d841f6efc8ce0 Mon Sep 17 00:00:00 2001 From: EmmanuelChthonic Date: Thu, 16 Nov 2023 15:47:58 +0400 Subject: [PATCH] ran clippy and fmt --- processor/src/db.rs | 2 +- processor/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/src/db.rs b/processor/src/db.rs index 5be9c6021..0670a5707 100644 --- a/processor/src/db.rs +++ b/processor/src/db.rs @@ -30,4 +30,4 @@ impl PendingActivationsDb { } None } -} \ No newline at end of file +} diff --git a/processor/src/main.rs b/processor/src/main.rs index 4d5f73411..eddd6c3ff 100644 --- a/processor/src/main.rs +++ b/processor/src/main.rs @@ -574,7 +574,7 @@ async fn run(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);