function downtimeSlash(address consensusAddress) external onlySlash {
// 获取验证者信息
address operatorAddress = consensusToOperator[consensusAddress];
Validator storage valInfo = _validators[operatorAddress];
// 1. 经济惩罚:扣除10 BNB
uint256 slashAmount = IStakeCredit(valInfo.creditContract).slash(downtimeSlashAmount);
// 2. 监禁惩罚:监禁2天
uint256 jailUntil = block.timestamp + downtimeJailTime;
_jailValidator(valInfo, jailUntil);
emit ValidatorSlashed(operatorAddress, jailUntil, slashAmount, SlashType.DownTime);
}