From 1cf47f0a0332ad784579bde0e281b2fd1b699090 Mon Sep 17 00:00:00 2001 From: Victor Nordam Suadicani Date: Tue, 2 Jul 2024 11:22:47 +0200 Subject: [PATCH] fmt --- kpi-tracker/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kpi-tracker/src/main.rs b/kpi-tracker/src/main.rs index 2ce00a05..1161549b 100644 --- a/kpi-tracker/src/main.rs +++ b/kpi-tracker/src/main.rs @@ -899,7 +899,10 @@ async fn process_payday_block( let closed_pool_count = &closed_pool_count; async move { let pi = node.get_pool_info(block_ident, baker_id).await?.response; - let pool_info = pi.active_baker_pool_status.expect("pool info missing").pool_info; + let pool_info = pi + .active_baker_pool_status + .expect("pool info missing") + .pool_info; match pool_info.open_status { OpenStatus::OpenForAll => open_pool_count.fetch_add(1, Ordering::AcqRel), OpenStatus::ClosedForNew => {