Skip to content

Commit

Permalink
chore: remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Sep 17, 2024
1 parent 840d446 commit e8b529d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/contracts/core/ProviderRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ contract ProviderRegistry is
) external nonReentrant onlyPreConfirmationEngine whenNotPaused {
uint256 residualAmt = (amt * residualBidPercentAfterDecay * PRECISION) / PERCENT;
uint256 penaltyFee = (residualAmt * uint256(feePercent) * PRECISION) / PERCENT;

uint256 providerStake = providerStakes[provider];


if (providerStake < residualAmt + penaltyFee) {
emit InsufficientFundsToSlash(provider, providerStake, residualAmt, penaltyFee);
if (providerStake < residualAmt) {
Expand Down

0 comments on commit e8b529d

Please sign in to comment.