We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09d330b + 7c8a5c9 commit cf3f94cCopy full SHA for cf3f94c
mytonctrl/mytonctrl.py
@@ -388,7 +388,7 @@ def Upgrade(ton, args):
388
try:
389
from mytoninstaller.mytoninstaller import set_node_argument, get_node_args
390
node_args = get_node_args()
391
- if node_args['--state-ttl'] == '604800':
+ if node_args.get('--state-ttl') == '604800':
392
set_node_argument(ton.local, ["--state-ttl", "-d"])
393
except Exception as e:
394
color_print(f"{{red}}Failed to set node argument: {e} {{endc}}")
0 commit comments