Skip to content

Commit 875f9a2

Browse files
committed
round validator stake info in vl
1 parent d4d1b46 commit 875f9a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mytoncore/mytoncore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,6 +2491,7 @@ def GetValidatorsList(self, past=False, fast=False, start=None, end=None):
24912491
if saveElectionEntries and adnlAddr in saveElectionEntries:
24922492
validator["walletAddr"] = saveElectionEntries[adnlAddr]["walletAddr"]
24932493
validator["stake"] = saveElectionEntries[adnlAddr].get("stake")
2494+
validator["stake"] = int(validator["stake"]) if validator["stake"] else None
24942495
#end for
24952496

24962497
# Set buffer

0 commit comments

Comments
 (0)