Skip to content

Commit bbfa048

Browse files
authored
Merge pull request #24 from yungwine/fix-install
Fix install
2 parents 7a88e28 + 2af5533 commit bbfa048

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mytoncore/mytoncore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,7 @@ def GetValidatorsList(self, past=False, fast=False, start=None, end=None):
25182518
if saveElectionEntries and adnlAddr in saveElectionEntries:
25192519
validator["walletAddr"] = saveElectionEntries[adnlAddr]["walletAddr"]
25202520
validator["stake"] = saveElectionEntries[adnlAddr].get("stake")
2521+
validator["stake"] = int(validator["stake"]) if validator["stake"] else None
25212522
#end for
25222523

25232524
# Set buffer

scripts/ton_installer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ if [ "${ton_node_version}" != "master" ]; then
118118
cd ../
119119
fi
120120

121+
cd $SOURCES_DIR/ton
121122
git submodule sync --recursive
122123
git submodule update
124+
cd ../
123125

124126
git config --global --add safe.directory $SOURCES_DIR/ton
125127

0 commit comments

Comments
 (0)