added whitelisting information in logs

This commit is contained in:
Jędrzej Stuczyński
2024-01-23 15:10:53 +00:00
parent f32ea17de5
commit c8f38ae785
2 changed files with 5 additions and 3 deletions
@@ -141,10 +141,11 @@ impl EpochSigningResults {
.iter()
.inspect(|v| {
info!(
"validator {} will receive {} at address {} for block signing work",
"validator {} will receive {} at address {} for block signing work (whitelisted: {})",
v.moniker(),
v.reward_amount(budget),
v.operator_account
v.operator_account,
v.whitelisted
);
})
.map(|v| (v.operator_account.clone(), vec![v.reward_amount(budget)]))
@@ -324,10 +324,11 @@ impl CredentialIssuanceResults {
.iter()
.inspect(|a| {
info!(
"operator {} will receive {} at address {} for credential issuance work",
"operator {} will receive {} at address {} for credential issuance work (whitelisted: {})",
a.api_runner,
a.reward_amount(budget),
a.runner_account,
a.whitelisted
);
})
.map(|v| (v.runner_account.clone(), vec![v.reward_amount(budget)]))