mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Add debug message when validator is penalized
This commit is contained in:
@@ -1004,6 +1004,10 @@ impl BeaconState {
|
|||||||
whistleblower_reward
|
whistleblower_reward
|
||||||
);
|
);
|
||||||
self.validator_registry[validator_index].penalized_epoch = current_epoch;
|
self.validator_registry[validator_index].penalized_epoch = current_epoch;
|
||||||
|
debug!(
|
||||||
|
"Whistleblower {} penalized validator {}.",
|
||||||
|
whistleblower_index, validator_index
|
||||||
|
);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user