From 05ee06814e8d322e2f71981c366db38c60def229 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Fri, 17 Mar 2023 20:07:52 +0900 Subject: [PATCH] Fix wrongly swapped parent slot and block height (#30744) --- runtime/src/bank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 261cbad059364d..6de006b21e8383 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -1728,8 +1728,8 @@ impl Bank { report_new_bank_metrics( slot, - new.block_height, parent.slot(), + new.block_height, NewBankTimings { bank_rc_creation_time_us, total_elapsed_time_us: time.as_us(),