Skip to content

Commit 718bef8

Browse files
committed
fix: default value
1 parent b485f17 commit 718bef8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mytoncore/mytoncore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2586,6 +2586,8 @@ def GetValidatorsList(self, past=False):
25862586
#end if
25872587
if self.GetNetworkName() == "testnet":
25882588
validatorsLoad = self.GetValidatorsLoad(start, end)
2589+
else:
2590+
validatorsLoad = []
25892591
validators = config["validators"]
25902592
electionId = config.get("startWorkTime")
25912593
saveElectionEntries = self.GetSaveElectionEntries(electionId)

0 commit comments

Comments
 (0)