Add debug message when validator is penalized

This commit is contained in:
Paul Hauner 2019-03-02 11:27:12 +11:00
parent 867dce34cd
commit 22d59a70cc
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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(())
} }