You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mytonctrl/mytonctrl.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -368,10 +368,7 @@ def Upgrade(ton, args):
368
368
369
369
clang_version=get_clang_major_version()
370
370
ifclang_versionisNoneorclang_version<16:
371
-
text="{yellow}Warning: clang version 16 or higher is required for TON Node software upgrade.{endc}\n"
372
-
ifclang_versionisNone:
373
-
text+="Could not check clang version.\n If you are sure that clang version is 16 or higher, use --force option.\n"
374
-
text+="For clang update check the following instructions: https://gist.github.com/neodix42/e4b1b68d2d5dd3dec75b5221657f05d7\n"
371
+
text=f"{{red}}WARNING: THIS UPGRADE WILL MOST PROBABLY FAIL DUE TO A WRONG CLANG VERSION: {clang_version}, REQUIRED VERSION IS 16. RECOMMENDED TO EXIT NOW AND UPGRADE CLANG AS PER INSTRUCTIONS: https://gist.github.com/neodix42/e4b1b68d2d5dd3dec75b5221657f05d7{{endc}}\n"
375
372
color_print(text)
376
373
ifinput("Continue with upgrade anyway? [Y/n]\n").strip().lower() notin ('y', ''):
0 commit comments