Add debug message when validator is penalized
This commit is contained in:
parent
867dce34cd
commit
22d59a70cc
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user