Skip to content

Commit 28d264e

Browse files
committed
bugfix
1 parent 7f78be2 commit 28d264e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoncore/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def Complaints(local, ton):
518518
def Slashing(local, ton):
519519
is_slashing = local.db.get("isSlashing")
520520
is_validator = ton.using_validator()
521-
if is_slashing is not True or is_validator:
521+
if is_slashing is not True or not is_validator:
522522
return
523523

524524
# Creating complaints

0 commit comments

Comments
 (0)