Skip to content

Commit 3da9668

Browse files
committed
fix
1 parent 8af9b98 commit 3da9668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoncore/mytoncore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def GetStake(self, account, args=None):
13371337
else:
13381338
for validator in vconfig.validators:
13391339
# Check validator is in active period
1340-
if validator.election_date - config15["elections_end_before"] < get_timestamp() < validator.expire_at:
1340+
if validator.election_date - config15["electionsEndBefore"] < get_timestamp() < validator.expire_at:
13411341
# Check validator is elected
13421342
if self.GetAdnlAddr() in self.GetValidatorsList():
13431343
stake = int(account.balance*sp)

0 commit comments

Comments
 (0)