mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 13:07:18 +00:00
Add reason to invalid attestation log (#1460)
## Issue Addressed NA ## Proposed Changes Adds an extra field to a debug log so we can see *why* an attestation was invalid. ## Additional Info NA
This commit is contained in:
parent
20ee893969
commit
5629126f45
@ -596,6 +596,7 @@ impl<T: BeaconChainTypes> Processor<T> {
|
||||
debug!(
|
||||
self.log,
|
||||
"Invalid attestation from network";
|
||||
"reason" => format!("{:?}", error),
|
||||
"block" => format!("{}", beacon_block_root),
|
||||
"peer_id" => peer_id.to_string(),
|
||||
"type" => format!("{:?}", attestation_type),
|
||||
|
Loading…
Reference in New Issue
Block a user