Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-N-Suadicani committed Jul 2, 2024
1 parent e877132 commit 1cf47f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kpi-tracker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 1cf47f0

Please sign in to comment.