Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
log validator index in panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Mar 29, 2023
1 parent 92b13c4 commit 0f3a964
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/core/dispute-coordinator/src/initialized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,11 @@ impl Initialized {
validator_public.clone(),
validator_signature.clone(),
).is_ok(),
"Scraped backing votes had invalid signature! candidate: {:?}, session: {:?}, validator_public: {:?}",
"Scraped backing votes had invalid signature! candidate: {:?}, session: {:?}, validator_public: {:?}, validator_index: {}",
candidate_hash,
session,
validator_public,
validator_index.0,
);
let signed_dispute_statement =
SignedDisputeStatement::new_unchecked_from_trusted_source(
Expand Down

0 comments on commit 0f3a964

Please sign in to comment.