Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Nov 28, 2023
1 parent f586421 commit 3e741d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pairing/keeper/unresponsive_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (k Keeper) UnstakeUnresponsiveProviders(ctx sdk.Context, epochsNumToCheckCU
}

// providerPaymentStorageKeyList is not empty -> provider should be punished
if len(providerPaymentStorageKeyList) != 0 && uint64(existingProviders[providerStakeEntry.GetChain()]) > minProviders {
if len(providerPaymentStorageKeyList) != 0 && existingProviders[providerStakeEntry.GetChain()] > minProviders {
err = k.punishUnresponsiveProvider(ctx, minPaymentBlock, providerPaymentStorageKeyList, providerStakeEntry.GetAddress(), providerStakeEntry.GetChain(), complaintCU, servicedCU)
existingProviders[providerStakeEntry.GetChain()]--
if err != nil {
Expand Down

0 comments on commit 3e741d2

Please sign in to comment.