From d68fa649413d951e57ec189f15d40daef7ab9132 Mon Sep 17 00:00:00 2001 From: Tyera Date: Mon, 17 Jun 2024 14:03:57 -0600 Subject: [PATCH] Simd-118: [HAL-02] add lamports burned to error log (#1768) Add lamports burned to error log --- runtime/src/bank/partitioned_epoch_rewards/distribution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/bank/partitioned_epoch_rewards/distribution.rs b/runtime/src/bank/partitioned_epoch_rewards/distribution.rs index 1784fb139d2fa3..c5b463af9a0498 100644 --- a/runtime/src/bank/partitioned_epoch_rewards/distribution.rs +++ b/runtime/src/bank/partitioned_epoch_rewards/distribution.rs @@ -207,8 +207,8 @@ impl Bank { } Err(err) => { error!( - "bank::distribution::store_stake_accounts_in_partition() failed for {}: {:?}", - stake_pubkey, err + "bank::distribution::store_stake_accounts_in_partition() failed for \ + {stake_pubkey}, {reward_amount} lamports burned: {err:?}" ); lamports_burned += reward_amount; }